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:02 UTC
[jira] [Assigned] (SPARK-7617) Word2VecModel fVector not normalized
[ https://issues.apache.org/jira/browse/SPARK-7617?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Apache Spark reassigned SPARK-7617:
-----------------------------------
Assignee: Apache Spark
> Word2VecModel fVector not normalized
> ------------------------------------
>
> Key: SPARK-7617
> URL: https://issues.apache.org/jira/browse/SPARK-7617
> Project: Spark
> Issue Type: Improvement
> Components: MLlib
> Affects Versions: 1.3.1
> Reporter: Eric Li
> Assignee: Apache Spark
> Priority: Trivial
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> fVector is not divided by norm in findSynonyms. This will not affect the order of synonyms, since it is a constant. However, the calculated cosine distances will not be comparable across different words.
> For example,
> findSynonyms("sf", 1) return [("oakland", 0.2)]
> findSynonyms("dc", 1) return [("arlington", 0.3)]
> We cannot say compare the distances 0.2 with 0.3, since distances are not normalized.
--
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