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

[jira] [Updated] (SPARK-5186) Vector.equals and Vector.hashCode are very inefficient

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

Derrick Burns updated SPARK-5186:
---------------------------------
    Summary: Vector.equals  and Vector.hashCode are very inefficient  (was: Vector.equals is broken)

> Vector.equals  and Vector.hashCode are very inefficient
> -------------------------------------------------------
>
>                 Key: SPARK-5186
>                 URL: https://issues.apache.org/jira/browse/SPARK-5186
>             Project: Spark
>          Issue Type: Bug
>          Components: MLlib
>    Affects Versions: 1.2.0
>            Reporter: Derrick Burns
>   Original Estimate: 0.25h
>  Remaining Estimate: 0.25h
>
> The implementation of Vector.equals (and Vector.hashCode) is only correct for DenseVectors.   SparseVectors with different indices but the same values not equal, but the indices are not considered in equals and hashCode.



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