peal.generators.tabular_ddpm.TabularDDPMConfig¶
- class peal.generators.tabular_ddpm.TabularDDPMConfig[source]¶
Bases:
GeneratorConfigConfig of
TabularDDPM.- Parameters:
generator_type (
str) – Registry name,"TabularDDPM".input_dim (
int) – Number of non-label feature columns the score network denoises.embed_dim (
int) – Width of the timestep embedding and of the hidden MLP layers.num_timesteps (
int) – Length of the forward noising chain (T).model_name (
str) – Filename of the saved state dict insidebase_path.var_schedule (
str) –"linear"or"cosine"beta schedule.base_path (
str) – Directory used asmodel_dirwhen none is passed to the generator.num_epochs (
int,float) – Adam training budget. The batch size comes fromGeneratorConfig.batch_size.learning_rate (
int,float) – Adam training budget. The batch size comes fromGeneratorConfig.batch_size.grad_scales (
listoffloat) – Classifier-gradient weights tried byTabularDDPM.edit().noise_steps_for_counterfactuals (
listofint) – Forward-diffusion depths (t) tried byTabularDDPM.edit().attack_iterations (
int) – How many times the (steps x scales) grid is repeated inedit.data (
DataConfig) – Dataset config used when no dataset object is passed.
Methods
Attributes
dataPydantic description of a dataset, loadable from yaml.
The type of generator that shall be used.