diff --git a/feature_selection/find_signature.py b/feature_selection/find_signature.py index e60c06fd3d8..78f1893f4f6 100644 --- a/feature_selection/find_signature.py +++ b/feature_selection/find_signature.py @@ -10,8 +10,8 @@ ### mini-project. words_file = "../text_learning/your_word_data.pkl" authors_file = "../text_learning/your_email_authors.pkl" -word_data = joblib.load( open(words_file, "r")) -authors = joblib.load( open(authors_file, "r") ) +word_data = joblib.load( open(words_file, "rb")) +authors = joblib.load( open(authors_file, "rb") )