def toJson(self):
     conf = Experiment.toJson(self)
     conf['__type__'] = 'ActiveLearningExperiment'
     conf['labeling_method'] = self.labeling_method
     if self.validation_conf is not None:
         conf['validation_conf'] = self.validation_conf.toJson()
     else:
         conf['validation_conf'] = None
     conf['conf'] = self.conf.toJson()
     return conf
Example #2
0
 def toJson(self):
     conf = Experiment.toJson(self)
     conf['__type__'] = 'ValidationExperiment'
     return conf
Example #3
0
 def toJson(self):
     conf = Experiment.toJson(self)
     conf['__type__'] = 'ClusteringExperiment'
     conf['conf'] = self.conf.toJson()
     return conf
 def toJson(self):
     conf = Experiment.toJson(self)
     conf['__type__'] = 'DescriptiveStatisticsExperiment'
     return conf
 def toJson(self):
     conf = Experiment.toJson(self)
     conf['__type__'] = 'ClassificationExperiment'
     conf['classification_conf'] = self.classification_conf.toJson()
     return conf
Example #6
0
 def toJson(self):
     conf = Experiment.toJson(self)
     conf['__type__'] = 'ProjectionExperiment'
     conf['conf'] = self.conf.toJson()
     return conf