class ExperimentConf(Bean): dataset_name = StringField() dataset_has_header = BooleanField() dataset_default_headers = ListObjectField() train_mode = StringField() label_col = StringField() pos_label = ObjectField() task_type = StringField() # calc in frontend partition_strategy = StringField() cross_validation = BeanField(CrossValidation) train_validation_holdout = BeanField(TrainValidationHoldout) datetime_series_col = StringField() # feature_series_name = StringField() file_path = StringField() test_file_path = StringField() class PartitionStrategy: CrossValidation = 'cross_validation' TrainValidationHoldout = 'train_validation_holdout'
class FeatureValueCount(Bean): type = ObjectField() value = IntegerField() percentage = FloatField()
class ContinuousFeatureBin(Bean): begin = ObjectField() end = ObjectField() value = IntegerField()
class BinaryLabel(Bean): true = ObjectField() false = ObjectField()
class FeatureValueCount(Bean): type = ObjectField() value = IntegerField()