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

Apache Spark commented on SPARK-2909:
-------------------------------------

User 'MechCoder' has created a pull request for this issue:
https://github.com/apache/spark/pull/4025

> Indexing for SparseVector in pyspark
> ------------------------------------
>
>                 Key: SPARK-2909
>                 URL: https://issues.apache.org/jira/browse/SPARK-2909
>             Project: Spark
>          Issue Type: Improvement
>          Components: MLlib, PySpark
>            Reporter: Joseph K. Bradley
>            Priority: Minor
>
> SparseVector in pyspark does not currently support indexing, except by 
> examining the internal representation.  Though indexing is a pricy operation, 
> it would be useful for, e.g., iterating through a dataset (RDD[LabeledPoint]) 
> and operating on a single feature.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to