From ae3eaab3cdfd8f107092eec629e133bd7c24ec42 Mon Sep 17 00:00:00 2001 From: valentin Date: Mon, 6 Apr 2020 18:23:12 +0200 Subject: [PATCH] Before cleaning --- 06_extract_features_and_predict.py | 2 +- check_files.sh => 07_check_files.sh | 0 check_files2.sh => 08_check_files2.sh | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename check_files.sh => 07_check_files.sh (100%) rename check_files2.sh => 08_check_files2.sh (100%) diff --git a/06_extract_features_and_predict.py b/06_extract_features_and_predict.py index 421048a..4a5689e 100644 --- a/06_extract_features_and_predict.py +++ b/06_extract_features_and_predict.py @@ -215,6 +215,6 @@ if __name__ == "__main__": #print("Features extracted from the file {}".format(args.filepath)) #print(pe_features) - saved_model = joblib.load("models/malware_classifier_4.pkl") + saved_model = joblib.load("/home/ubuntu/bigData/projet_big_data/models/malware_classifier_4.pkl") prediction = predict_from_features(pe_features, saved_model) print(prediction) diff --git a/check_files.sh b/07_check_files.sh similarity index 100% rename from check_files.sh rename to 07_check_files.sh diff --git a/check_files2.sh b/08_check_files2.sh similarity index 100% rename from check_files2.sh rename to 08_check_files2.sh