Skip to content
Prev Previous commit
minor fix for Word2Vec test
  • Loading branch information
Liquan Pei committed Aug 4, 2014
commit 2ba948384e96e79e95a529f032d4768f24236547
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