Skip to content

Commit

Permalink
Fix return type in KeyedVector.evaluate_word_analogies (#2207)
Browse files Browse the repository at this point in the history
  • Loading branch information
Stigjb authored and menshikh-iv committed Oct 4, 2018
1 parent b3d7ba6 commit 8bf7396
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gensim/models/keyedvectors.py
Original file line number Diff line number Diff line change
Expand Up @@ -1069,7 +1069,7 @@ def evaluate_word_analogies(self, analogies, restrict_vocab=300000, case_insensi
-------
score : float
The overall evaluation score on the entire evaluation set
sections : list of dict of {str : str or tuple of (str, str, str, str)}
sections : list of dict of {str : str or list of tuple of (str, str, str, str)}
Results broken down by each section of the evaluation set. Each dict contains the name of the section
under the key 'section', and lists of correctly and incorrectly predicted 4-tuples of words under the
keys 'correct' and 'incorrect'.
Expand Down

0 comments on commit 8bf7396

Please sign in to comment.