diffix / syndiffix

Python implementation of the SynDiffix synthetic data generation mechanism.
Other
6 stars 2 forks source link

Make shortcut syntax for target column #100

Closed yoid2000 closed 1 year ago

yoid2000 commented 1 year ago

Make a shortcut syntax like this:

df_synth = Synthesizer(df_orig, target_column='col1')

to accomplish this:

df_synth = Synthesizer(df_orig, clustering=MLClustering(target_column='col1'))