Skip to content

Commit

Permalink
minor fix for Word2Vec test
Browse files Browse the repository at this point in the history
  • Loading branch information
Liquan Pei committed Aug 4, 2014
1 parent e248441 commit 2ba9483
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class Word2VecSuite extends FunSuite with LocalSparkContext {
val minCount = 2
val num = 2

val model = Word2Vec.train(doc, size, startingAlpha, window, minCount)
val model = Word2Vec.train(doc, size, startingAlpha)
val syms = model.findSynonyms("a", 2)
assert(syms.length == num)
assert(syms(0)._1 == "b")
Expand Down

0 comments on commit 2ba9483

Please sign in to comment.