Beispiel #1
0
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'
Beispiel #2
0
class FeatureValueCount(Bean):
    type = ObjectField()
    value = IntegerField()
    percentage = FloatField()
Beispiel #3
0
class ContinuousFeatureBin(Bean):
    begin = ObjectField()
    end = ObjectField()
    value = IntegerField()
Beispiel #4
0
class BinaryLabel(Bean):
    true = ObjectField()
    false = ObjectField()
Beispiel #5
0
class FeatureValueCount(Bean):
    type = ObjectField()
    value = IntegerField()