Example #1
0
 def toJson(self):
     conf = Experiment.toJson(self)
     conf['__type__'] = 'ActiveLearningExperiment'
     conf['query_strategy'] = self.query_strategy
     conf['conf'] = self.conf.toJson()
     return conf
Example #2
0
 def toJson(self):
     conf = Experiment.toJson(self)
     conf['__type__'] = 'ClassificationExperiment'
     conf['classification_conf'] = self.conf.toJson()
     return conf
Example #3
0
 def toJson(self):
     conf = Experiment.toJson(self)
     conf['__type__'] = 'DescriptiveStatisticsExperiment'
     return conf
Example #4
0
 def toJson(self):
     conf = Experiment.toJson(self)
     conf['__type__'] = 'ValidationExperiment'
     return conf
 def toJson(self):
     conf = Experiment.toJson(self)
     conf['__type__'] = 'ClusteringExperiment'
     conf['conf'] = self.conf.toJson()
     return conf