You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Joseph K. Bradley (JIRA)" <ji...@apache.org> on 2016/01/11 23:50:40 UTC

[jira] [Comment Edited] (SPARK-12685) word2vec trainWordsCount gets overflow

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

Joseph K. Bradley edited comment on SPARK-12685 at 1/11/16 10:50 PM:
---------------------------------------------------------------------

(edit) It did not cherry-pick cleanly to previous Spark versions.  Would you mind sending backport PRs for branch-1.4, 1.5, and 1.6?  Thank you!


was (Author: josephkb):
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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org