You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2015/05/18 23:06:01 UTC

[jira] [Assigned] (SPARK-7615) MLLIB Word2Vec wordVectors divided by Euclidean Norm equals to zero

     [ https://issues.apache.org/jira/browse/SPARK-7615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Apache Spark reassigned SPARK-7615:
-----------------------------------

    Assignee: Apache Spark

> MLLIB Word2Vec wordVectors divided by Euclidean Norm equals to zero 
> --------------------------------------------------------------------
>
>                 Key: SPARK-7615
>                 URL: https://issues.apache.org/jira/browse/SPARK-7615
>             Project: Spark
>          Issue Type: Bug
>          Components: MLlib
>    Affects Versions: 1.3.1
>            Reporter: Eric Li
>            Assignee: Apache Spark
>            Priority: Minor
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> In Word2VecModel, wordVecNorms may contains Euclidean Norm equals to zero. This will cause incorrect calculation for cosine distance. when you do cosineVec(ind) / wordVecNorms(ind). Cosine distance should be equal to 0 for norm = 0. 



--
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