def main(): timing.start_measurement() print("Do combined classification using all input files") file_contents, labels = input_parser.parse_input_files( config.get_record_dir(), combine_sc_vectors=True) X = ft.extract_preconfigured_features(file_contents) Y = pd.Series(labels) app_classifier.do_kfold_cross_validation(X, Y) timing.stop_measurement()
def main(): timing.start_measurement() print("Do combined classification using all input files") file_contents, labels = input_parser.parse_input_files( config.get_record_dir(), combine_sc_vectors=True) X = ft.extract_preconfigured_features(file_contents) Y = pd.Series(labels) _, total_first_acc, total_second_acc, total_third_acc, total_single_accuracies = app_classifier.do_kfold_cross_validation( X, Y) total_acc = [total_first_acc, total_second_acc, total_third_acc] plt.plot(total_acc) plt.show() plt.plot(total_single_accuracies) plt.show() timing.stop_measurement()
def main(): timing.start_measurement() print("Do explorative classification with separate input files") explorative_classification() timing.stop_measurement()
def main(): timing.start_measurement() classify_separated_test_directory() timing.stop_measurement()