Skip to content

Commit e248441

Browse files
author
Liquan Pei
committed
minor style change
1 parent 26a948d commit e248441

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

mllib/src/test/scala/org/apache/spark/mllib/feature/Word2VecSuite.scala

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ class Word2VecSuite extends FunSuite with LocalSparkContext {
4747
test("Word2VecModel") {
4848
val num = 2
4949
val localModel = Seq(
50-
("china" , Array(0.50f, 0.50f, 0.50f, 0.50f)),
51-
("japan" , Array(0.40f, 0.50f, 0.50f, 0.50f)),
52-
("taiwan", Array(0.60f, 0.50f, 0.50f, 0.50f)),
53-
("korea" , Array(0.45f, 0.60f, 0.60f, 0.60f))
50+
("china", Array(0.50f, 0.50f, 0.50f, 0.50f)),
51+
("japan", Array(0.40f, 0.50f, 0.50f, 0.50f)),
52+
("taiwan", Array(0.60f, 0.50f, 0.50f, 0.50f)),
53+
("korea", Array(0.45f, 0.60f, 0.60f, 0.60f))
5454
)
5555
val model = new Word2VecModel(sc.parallelize(localModel, 2))
5656
val syms = model.findSynonyms("china", num)

0 commit comments

Comments
 (0)