You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.
Hi,
thanks so much for simplifying and getting the codes to work on jupyter notebook virtual environment. I am using your files and my virtual environment has been set up successfully and running. However, I am trying to run the notebook file for the naive bayes classifier project but I keep getting this error. What can be done to fix this:
UnpicklingError Traceback (most recent call last)
~\AppData\Local\Temp\ipykernel_34924\3868588496.py in
----> 1 gaussian_classifier(preprocess())
c:\Users\okori\Documents\Workspace\ud120-projects-py3-jupyter\02-naive-bayes../utils\email_preprocess.py in preprocess(words_file, authors_file)
28
29 with open(words_file, 'rb') as f:
---> 30 word_data = pickle.load(f)
31
32 # test_size is the percentage of events assigned to the test set
UnpicklingError: the STRING opcode argument must be quoted
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
thanks so much for simplifying and getting the codes to work on jupyter notebook virtual environment. I am using your files and my virtual environment has been set up successfully and running. However, I am trying to run the notebook file for the naive bayes classifier project but I keep getting this error. What can be done to fix this:
UnpicklingError Traceback (most recent call last)
~\AppData\Local\Temp\ipykernel_34924\3868588496.py in
----> 1 gaussian_classifier(preprocess())
c:\Users\okori\Documents\Workspace\ud120-projects-py3-jupyter\02-naive-bayes../utils\email_preprocess.py in preprocess(words_file, authors_file)
28
29 with open(words_file, 'rb') as f:
---> 30 word_data = pickle.load(f)
31
32 # test_size is the percentage of events assigned to the test set
UnpicklingError: the STRING opcode argument must be quoted
The text was updated successfully, but these errors were encountered: