How to use the rdt.hyper_transformer.HyperTransformer function in rdt

To help you get started, we’ve selected a few rdt examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github HDI-Project / SDV / sdv / data_navigator.py View on Github external
def _get_hyper_transformers(self):
        hyper_transformers = dict()

        for table in self.meta['tables']:
            if table['use']:
                pii_fields = self._get_pii_fields(table)
                hyper_transformers[table['name']] = HyperTransformer(anonymize=pii_fields)

        return hyper_transformers