PIEModel.__init__#
- PIEModel.__init__(*, pre_determined_features=FieldInfo(annotation=NoneType, required=True, description='Feature columns known before the campaign runs.'), post_determined_features=FieldInfo(annotation=NoneType, required=True, description='Feature columns known only after the campaign runs.'), target_column=FieldInfo(annotation=NoneType, required=False, default='y', description='Label for the target variable in idata.'), model_config=FieldInfo(annotation=NoneType, required=False, default=None), sampler_config=FieldInfo(annotation=NoneType, required=False, default=None))[source]#
Initialize model configuration and sampler configuration for the model.
- Parameters:
- model_config
Dictionary, optional dictionary of parameters that initialise model configuration. Class-default defined by the user default_model_config method.
- sampler_config
Dictionary, optional dictionary of parameters that initialise sampler configuration. Class-default defined by the user default_sampler_config method.
- model_config
Examples
class MyModel(ModelBuilder): ... model = MyModel(model_config, sampler_config)