learn(df_train, num_iterations, callback=None, callback_freq=0)
Train the generative model for the given iterations.
Repeated calls continue training the model, possibly on different data.
DataFrame) – The training data.
int]) – The number of training iterations (not epochs).
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.
int) – Callback frequency.
- Return type