Exemplo n.º 1
0
 def __init__(self, classification_conf, cluster_strategy, num_annotations,
              cluster_weights, logger):
     Conf.__init__(self, logger)
     self.classification_conf = classification_conf
     self.cluster_strategy = cluster_strategy
     self.num_annotations = num_annotations
     self.cluster_weights = cluster_weights
Exemplo n.º 2
0
 def __init__(self, annotations_filename, annotations_id, logger):
     Conf.__init__(self, logger)
     self.annotations_filename = annotations_filename
     self.annotations_id = None
     self.annotations_type = None
     if annotations_id is not None:
         self.set_annotations_id(annotations_id)
     else:
         self.set_annotations_filename(annotations_filename)
Exemplo n.º 3
0
 def __init__(self, sample_weight, families_supervision,
              hyperparams_optim_conf, logger):
     Conf.__init__(self, logger)
     self.sample_weight = sample_weight
     self.families_supervision = families_supervision
     self.model_class = None
     self.hyperparams_optim_conf = hyperparams_optim_conf
     self.probabilist_model = self.probabilistModel()
     self.semi_supervised = self.semiSupervisedModel()
     self.feature_importance = self.featureImportance()
     self.model_class_name = self.__class__.__name__.split('Conf')[0]
Exemplo n.º 4
0
 def __init__(self,
              input_features,
              logger,
              filter_in_filename=None,
              filter_out_filename=None):
     Conf.__init__(self, logger)
     self.input_features = input_features
     self.filter_in_filename = filter_in_filename
     self.filter_out_filename = filter_out_filename
     self.input_type = None
     self.dataset_features_id = None
     self.features_files_ids = []
     self.filter_in = None
     self.filter_out = None
Exemplo n.º 5
0
 def __init__(self,
              secuml_conf,
              dataset_conf,
              features_conf,
              annotations_conf,
              core_conf,
              experiment_name=None,
              parent=None):
     Conf.__init__(self, secuml_conf.logger)
     self.secuml_conf = secuml_conf
     self.dataset_conf = dataset_conf
     self.features_conf = features_conf
     self.annotations_conf = annotations_conf
     self.core_conf = core_conf
     self.experiment_name = experiment_name
     self.experiment_id = None
     self.parent = parent
     self._set_exp_name()
Exemplo n.º 6
0
 def __init__(self, algo, logger):
     Conf.__init__(self, logger)
     self.algo = algo
Exemplo n.º 7
0
 def __init__(self, logger, alerts_conf):
     Conf.__init__(self, logger)
     self.method = None
     self.alerts_conf = alerts_conf
Exemplo n.º 8
0
 def __init__(self, project, dataset, logger):
     Conf.__init__(self, logger)
     self.project = project
     self.dataset = dataset
     self.dataset_id = None
     self.has_ground_truth = None
Exemplo n.º 9
0
 def __init__(self, num_folds, n_jobs, objective_func, logger):
     Conf.__init__(self, logger)
     self.num_folds = num_folds
     self.n_jobs = n_jobs
     self.objective_func = objective_func
Exemplo n.º 10
0
 def __init__(self, auto, budget, validation_conf, models_conf, logger):
     Conf.__init__(self, logger)
     self.auto = auto
     self.budget = budget
     self.validation_conf = validation_conf
     self.models_conf = ModelsConf(models_conf)
Exemplo n.º 11
0
 def __init__(self, classifier_conf, test_conf, logger):
     Conf.__init__(self, logger)
     self.classifier_conf = classifier_conf
     self.test_conf = test_conf
Exemplo n.º 12
0
 def __init__(self, logger, num_clusters, projection_conf=None):
     Conf.__init__(self, logger)
     self.num_clusters = num_clusters
     self.projection_conf = projection_conf
     self.algo = None
Exemplo n.º 13
0
 def __init__(self, num_max_alerts, detection_threshold, clustering_conf,
              logger):
     Conf.__init__(self, logger)
     self.num_max_alerts = num_max_alerts
     self.detection_threshold = detection_threshold
     self.clustering_conf = clustering_conf