def get_methods(self, classifier_type=None): all_classifiers = ConfFactory.get_methods(self) if classifier_type is None: return all_classifiers else: return [c for c in all_classifiers if get_classifier_type(self.get_class(c)) == classifier_type]
def get_methods(self, supervised=None): all_classifiers = ConfFactory.get_methods(self) if supervised is None: return all_classifiers elif supervised: return [ c for c in all_classifiers if self.get_class(c).is_supervised() ] else: return [ c for c in all_classifiers if not self.get_class(c).is_supervised() ]
def get_methods(self): algos = ConfFactory.get_methods(self) algos.remove('Clustering') return algos