TwoTableSynthesizer.fitΒΆ

TwoTableSynthesizer.fit(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