예제 #1
0
 def __init__(self, multiclass, hyperparam_conf, logger):
     Conf.__init__(self, logger)
     self.multiclass = multiclass
     self.model_class = None
     self.hyperparam_conf = hyperparam_conf
     self.accept_sparse = False
     self._set_characteristics()
예제 #2
0
 def __init__(self, auto, budget, main_model_conf, validation_conf, logger):
     Conf.__init__(self, logger)
     self.auto = auto
     self.budget = budget
     self.main_model_conf = main_model_conf
     self.validation_conf = validation_conf
     self._set_strategy()
예제 #3
0
파일: rcd.py 프로젝트: zzszmyf/SecuML
 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
예제 #4
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)
예제 #5
0
 def __init__(self,
              classifier_conf,
              test_conf,
              logger,
              validation_conf=None):
     Conf.__init__(self, logger)
     self.classifier_conf = classifier_conf
     self.test_conf = test_conf
     self.validation_conf = validation_conf
예제 #6
0
파일: exp.py 프로젝트: zzszmyf/SecuML
 def __init__(self, secuml_conf, dataset_conf, features_conf,
              annotations_conf, core_conf, 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.name = name
     self.exp_id = None
     self.parent = parent
     self._set_exp_name()
예제 #7
0
파일: features.py 프로젝트: tuantmb/SecuML
 def __init__(self,
              input_features,
              logger,
              filter_in_f=None,
              filter_out_f=None):
     Conf.__init__(self, logger)
     self.input_features = input_features
     self.filter_in_f = filter_in_f
     self.filter_out_f = filter_out_f
     self.input_type = None
     self.set_id = None
     self.files = None
     self.info = None
예제 #8
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.features_set_id = None
     self.features_files_ids = []
     self.filter_in = None
     self.filter_out = None
예제 #9
0
파일: features.py 프로젝트: will3b/SecuML
 def __init__(self,
              input_features,
              sparse,
              logger,
              filter_in_f=None,
              filter_out_f=None,
              streaming=False,
              stream_batch=None):
     Conf.__init__(self, logger)
     self.input_features = input_features
     self.sparse = sparse
     self.filter_in_f = filter_in_f
     self.filter_out_f = filter_out_f
     self.streaming = streaming
     self.stream_batch = stream_batch
     self.input_type = None
     self.set_id = None
     self.files = None
     self.info = None
예제 #10
0
 def __init__(self, logger, alerts_conf):
     Conf.__init__(self, logger)
     self.method = None
     self.alerts_conf = alerts_conf
예제 #11
0
 def __init__(self, logger, num_components):
     Conf.__init__(self, logger)
     self.num_components = num_components
     self._set_algo()
예제 #12
0
파일: optim.py 프로젝트: zzszmyf/SecuML
 def __init__(self, num_folds, n_jobs, obj_func, logger):
     Conf.__init__(self, logger)
     self.num_folds = num_folds
     self.n_jobs = n_jobs
     self.objective_func = obj_func
예제 #13
0
 def __init__(self, detection_threshold, classifier_conf, clustering_conf,
              logger):
     Conf.__init__(self, logger)
     self.detection_threshold = detection_threshold
     self.classifier_conf = classifier_conf
     self.clustering_conf = clustering_conf
예제 #14
0
파일: __init__.py 프로젝트: zzszmyf/SecuML
 def __init__(self, logger):
     Conf.__init__(self, logger)
     self.method = None
예제 #15
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
예제 #16
0
파일: values.py 프로젝트: zzszmyf/SecuML
 def __init__(self, values, sklearn_name, logger):
     Conf.__init__(self, logger)
     self.values = values
     self.sklearn_name = sklearn_name
     self.best_value = None
예제 #17
0
파일: values.py 프로젝트: zzszmyf/SecuML
 def __init__(self, logger):
     Conf.__init__(self, logger)
     self._hyper_values = set([])
예제 #18
0
파일: __init__.py 프로젝트: kkneomis/SecuML
 def __init__(self, values, optim_conf, logger):
     Conf.__init__(self, logger)
     self.values = values
     self.optim_conf = optim_conf
예제 #19
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