Skip to content

Commit

Permalink
Fix typo in doc2vec-IMDB. Fix #1788 (#1796)
Browse files Browse the repository at this point in the history
  • Loading branch information
apoorvaeternity authored and menshikh-iv committed Dec 18, 2017
1 parent 018d40a commit 2f2d4f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/notebooks/doc2vec-IMDB.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -905,7 +905,7 @@
"# Download this file: https://github.com/nicholas-leonard/word2vec/blob/master/questions-words.txt\n",
"# and place it in the local directory\n",
"# Note: this takes many minutes\n",
"if os.path.isfile('question-words.txt'):\n",
"if os.path.isfile('questions-words.txt'):\n",
" for model in word_models:\n",
" sections = model.accuracy('questions-words.txt')\n",
" correct, incorrect = len(sections[-1]['correct']), len(sections[-1]['incorrect'])\n",
Expand Down

0 comments on commit 2f2d4f5

Please sign in to comment.