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

[jira] [Issue Comment Deleted] (SPARK-7422) Add argmax to Vector, SparseVector

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

George Dittmar updated SPARK-7422:
----------------------------------
    Comment: was deleted

(was: I noticed the Vector class mentions that it is deprecated and to use Vectors.dense for its creation. Are there still usages of the deprecated class that we need to maintain by adding the argMax functionality or would it make sense to just public the method in DenseVector and add it in for the sparse vector implementation?)

> Add argmax to Vector, SparseVector
> ----------------------------------
>
>                 Key: SPARK-7422
>                 URL: https://issues.apache.org/jira/browse/SPARK-7422
>             Project: Spark
>          Issue Type: New Feature
>          Components: MLlib
>            Reporter: Joseph K. Bradley
>            Priority: Minor
>              Labels: starter
>
> DenseVector has an argmax method which is currently private to Spark.  It would be nice to add that method to Vector and SparseVector.  Adding it to SparseVector would require being careful about handling the inactive elements correctly and efficiently.
> We should make argmax public and add unit tests.



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