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
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):
There is also an error when saving the data, where itongram needs to be replaced in the 2. write-block to ngramtoi:
with open('itongram.pickle', 'wb') as handle:
pickle.dump(itongram, handle, protocol=pickle.HIGHEST_PROTOCOL)
with open('ngramtoi.pickle', 'wb') as handle:
pickle.dump(ngramtoi, handle, protocol=pickle.HIGHEST_PROTOCOL)
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 trn_x_ngram_sgn.todense().
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: