[ 
https://issues.apache.org/jira/browse/SPARK-12685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15086786#comment-15086786
 ] 

yuhao yang commented on SPARK-12685:
------------------------------------

Update the priority as it will affects the computation process.
alpha =
                learningRate * (1 - numPartitions * wordCount.toDouble / 
(trainWordsCount + 1))

> word2vec logingo 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
>            Priority: Trivial
>
> a minor bug, the log of word2vec  reports 
> trainWordsCount = -785727483
> during computation over a large dataset.
> I'll also add vocabsize to the log.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to