def benchmark(self, classes): print "\nSIMPLE CHARACTERISTICS BENCHMARKING:" Benchmarker.benchmark(self, classes, classify_with_one_property_only, numerical_characteristics) print "CREATING SELF-MADE ACCURACY RANKING FOR SIMPLE CHARACTERISTICS FOR CLASSES FOR EACH RECORD IN DB" self.select_k_best_numerical_features_using_univariate_feature_selection( classes) self.select_optimal_features_set_using_univariate_feature_selection( ['age'])
def benchmark(self, classes): print "\nTOP WORDS USED BENCHMARKING:" Benchmarker.benchmark(self, classes, CommonWordsClassifier.classify, ["base_words"])
def benchmark(self, classes): print "\nPARTS OF SPEECH BENCHMARKING:" Benchmarker.benchmark(self, classes, PartsOfSpeechClassifier.classify, ["parts_of_speech_frequencies"])
def benchmark(self, classes): print "\nSIMPLE CHARACTERISTICS BENCHMARKING:" Benchmarker.benchmark(self, classes, classify_with_one_property_only, numerical_characteristics) print "CREATING SELF-MADE ACCURACY RANKING FOR SIMPLE CHARACTERISTICS FOR CLASSES FOR EACH RECORD IN DB" self.select_k_best_numerical_features_using_univariate_feature_selection(classes) self.select_optimal_features_set_using_univariate_feature_selection(['age'])