[
https://issues.apache.org/jira/browse/SPARK-12685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15092855#comment-15092855
]
Joseph K. Bradley commented on SPARK-12685:
-------------------------------------------
It looks easy to backport. I targeted it for 1.4+
> word2vec trainWordsCount gets overflow
> --------------------------------------
>
> Key: SPARK-12685
> URL: https://issues.apache.org/jira/browse/SPARK-12685
> Project: Spark
> Issue Type: Bug
> Components: MLlib
> Affects Versions: 1.6.0
> Reporter: yuhao yang
> Assignee: yuhao yang
> Priority: Minor
>
> the log of word2vec reports
> trainWordsCount = -785727483
> during computation over a large dataset.
> I'll also add vocabsize to the log.
> Update the priority as it will affects the computation process.
> alpha =
> learningRate * (1 - numPartitions * wordCount.toDouble / (trainWordsCount +
> 1))
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]