GitHub user hhbyyh opened a pull request:
https://github.com/apache/spark/pull/10721
[SPARK-12685] [MLlib] [Backport to 1.4]word2vec trainWordsCount gets
overflow
jira: https://issues.apache.org/jira/browse/SPARK-12685
master PR: https://github.com/apache/spark/pull/10627
the log of word2vec reports
trainWordsCount = -785727483
during computation over a large dataset.
Update the priority as it will affect the computation process.
alpha = learningRate * (1 - numPartitions * wordCount.toDouble /
(trainWordsCount + 1))
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/hhbyyh/spark branch-1.4
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/10721.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #10721
----
commit 27ba58609805c1b51082305eba4c1970de72c498
Author: Yuhao Yang <[email protected]>
Date: 2016-01-12T06:59:56Z
fix overflow in w2v
----
---
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 enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]