TwoTableSynthesizer.learnΒΆ
-
TwoTableSynthesizer.
learn
(df_train, num_iterations=None, callback=None, callback_freq=0) Train the TwoTableSynthesizer.
- Parameters
df_train (Tuple[pd.DataFrame]) β The training data for each table.
callback (
Optional
[Callable
[[Synthesizer
,int
,dict
],bool
]]) β A callback function, e.g. for logging purposes. Takes the synthesizer instance, the iteration number, and a dictionary of values (usually the losses) as arguments. Aborts training if the return value is True.callback_freq (
int
) β Callback frequency.
- Return type
None