[GitHub] spark pull request #18265: [SPARK-21050][ML] Word2vec persistence overflow b...

2017-06-12 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/spark/pull/18265 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is ena

[GitHub] spark pull request #18265: [SPARK-21050][ML] Word2vec persistence overflow b...

2017-06-11 Thread jkbradley
Github user jkbradley commented on a diff in the pull request: https://github.com/apache/spark/pull/18265#discussion_r121315755 --- Diff: mllib/src/test/scala/org/apache/spark/ml/feature/Word2VecSuite.scala --- @@ -188,6 +188,15 @@ class Word2VecSuite extends SparkFunSuite with ML

[GitHub] spark pull request #18265: [SPARK-21050][ML] Word2vec persistence overflow b...

2017-06-11 Thread jkbradley
Github user jkbradley commented on a diff in the pull request: https://github.com/apache/spark/pull/18265#discussion_r121315677 --- Diff: mllib/src/test/scala/org/apache/spark/ml/feature/Word2VecSuite.scala --- @@ -188,6 +188,15 @@ class Word2VecSuite extends SparkFunSuite with ML

[GitHub] spark pull request #18265: [SPARK-21050][ML] Word2vec persistence overflow b...

2017-06-11 Thread jkbradley
Github user jkbradley commented on a diff in the pull request: https://github.com/apache/spark/pull/18265#discussion_r121315648 --- Diff: mllib/src/main/scala/org/apache/spark/ml/feature/Word2Vec.scala --- @@ -355,9 +364,12 @@ object Word2VecModel extends MLReadable[Word2VecModel]

[GitHub] spark pull request #18265: [SPARK-21050][ML] Word2vec persistence overflow b...

2017-06-11 Thread Krimit
Github user Krimit commented on a diff in the pull request: https://github.com/apache/spark/pull/18265#discussion_r121277008 --- Diff: mllib/src/test/scala/org/apache/spark/ml/feature/Word2VecSuite.scala --- @@ -188,6 +188,15 @@ class Word2VecSuite extends SparkFunSuite with MLlib

[GitHub] spark pull request #18265: [SPARK-21050][ML] Word2vec persistence overflow b...

2017-06-11 Thread Krimit
Github user Krimit commented on a diff in the pull request: https://github.com/apache/spark/pull/18265#discussion_r121277000 --- Diff: mllib/src/test/scala/org/apache/spark/ml/feature/Word2VecSuite.scala --- @@ -188,6 +188,15 @@ class Word2VecSuite extends SparkFunSuite with MLlib

[GitHub] spark pull request #18265: [SPARK-21050][ML] Word2vec persistence overflow b...

2017-06-11 Thread Krimit
Github user Krimit commented on a diff in the pull request: https://github.com/apache/spark/pull/18265#discussion_r121276885 --- Diff: mllib/src/main/scala/org/apache/spark/ml/feature/Word2Vec.scala --- @@ -355,9 +364,12 @@ object Word2VecModel extends MLReadable[Word2VecModel] {

[GitHub] spark pull request #18265: [SPARK-21050][ML] Word2vec persistence overflow b...

2017-06-10 Thread jkbradley
GitHub user jkbradley opened a pull request: https://github.com/apache/spark/pull/18265 [SPARK-21050][ML] Word2vec persistence overflow bug fix ## What changes were proposed in this pull request? The method calculateNumberOfPartitions() uses Int, not Long (unlike the MLlib