Skip to content

Commit

Permalink
Fix parameter description of sg parameter for `gensim.models.word2v…
Browse files Browse the repository at this point in the history
…ec` (#1919)
  • Loading branch information
Orion Montoya authored and menshikh-iv committed Feb 21, 2018
1 parent 1aee152 commit fc198f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gensim/models/word2vec.py
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ def __init__(self, sentences=None, size=100, alpha=0.025, window=5, min_count=5,
in some other way.
sg : int {1, 0}
Defines the training algorithm. If 1, CBOW is used, otherwise, skip-gram is employed.
Defines the training algorithm. If 1, skip-gram is employed; otherwise, CBOW is used.
size : int
Dimensionality of the feature vectors.
window : int
Expand Down

0 comments on commit fc198f0

Please sign in to comment.