def _show_statistics(self): print("Creating statistics...") main.EXTRACT_ALL_FEATURES = True x, y = self._get_data_tuples() labels = Preprocessing.get_labels() # print(y) stats = Statistics(x, y, labels) stats.create()
def _reverse_sbs_scores(self): print("Looking for best features...") x, y = self._get_data_tuples() print(len(y)) ai = AI() features, accuracy = ai.reverse_sbs_score(x, y) labels = Preprocessing.get_labels() print(f"Max accuracy is {accuracy}") print("Features:") for f in features: print(labels[f])
def _random_forest_scores(self): print("Looking for best features...") x, y = self._get_data_tuples() ai = AI() ai.random_forest_score(x, y, Preprocessing.get_labels())