-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kernel dies in the 3-logreg-nb-imdb.ipynb notebook of "A Code-first Introduction to NLP" #31
Comments
I was able to solve it by first generating a dense array, then a np.array and then take the sum:
There is also an error when saving the data, where
After this I encounter also another kernel crash in the following line at the section "Using my ngrams, binarized:":
which can be also solved by handing over However, I am not sure if this is the correct way to solve this, as with bigger arrays we maybe run into memory problems because of generating the dense arrays (to soon)? Another error is also in the 2. last section "Log-count ratio" which I am currently trying to fix. I still have to look into this, but wanted to share my preliminary findings with you. |
Kernel dies at this step in the
3-logreg-nb-imdb.ipynb
notebook, between the second Naive Bayes section and the second Binarized Naive Bayes section (running Windows 10 Home edition, 64-bit):The text was updated successfully, but these errors were encountered: