def fromJson(obj, secuml_conf): conf = ClassifierConfFactory.getFactory().fromJson( obj['classification_conf']) experiment = ClassificationExperiment(secuml_conf) experiment.initExperiment(obj['project'], obj['dataset'], create=False) Experiment.expParamFromJson(experiment, obj, conf) return experiment
def fromJson(obj, session): experiment = DescriptiveStatisticsExperiment(obj['project'], obj['dataset'], session, create=False) Experiment.expParamFromJson(experiment, obj, None) return experiment
def fromJson(obj, session): experiment = ValidationExperiment(obj['project'], obj['dataset'], session, create=False) Experiment.expParamFromJson(experiment, obj, Configuration()) return experiment
def fromJson(obj, secuml_conf): experiment = ActiveLearningExperiment(secuml_conf) experiment.initExperiment(obj['project'], obj['dataset'], create=False) conf = ActiveLearningConfFactory.getFactory().fromJson(obj['conf']) Experiment.expParamFromJson(experiment, obj, conf) experiment.query_strategy = obj['query_strategy'] return experiment
def fromJson(obj, session): conf = ClusteringConfFactory.getFactory().fromJson(obj['conf']) experiment = ClusteringExperiment(obj['project'], obj['dataset'], session, create=False) Experiment.expParamFromJson(experiment, obj, conf) return experiment
def fromJson(obj, secuml_conf): experiment = ValidationExperiment(secuml_conf) experiment.initExperiment(obj['project'], obj['dataset'], create=False) Experiment.expParamFromJson(experiment, obj, Configuration()) return experiment
def fromJson(obj, secuml_conf): experiment = DescriptiveStatisticsExperiment(secuml_conf) experiment.initExperiment(obj['project'], obj['dataset'], create=False) Experiment.expParamFromJson(experiment, obj, None) return experiment