You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "darion yaphet (JIRA)" <ji...@apache.org> on 2017/06/15 08:22:00 UTC

[jira] [Updated] (SPARK-21104) Support sort with index when parse LibSVM Record

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

darion yaphet updated SPARK-21104:
----------------------------------
    Description: 
When I'm loading LibSVM from HDFS , I found feature index should be in ascending order . 
We can sorted with *indices* when we parse the input line input a (index, value) tuple and avoid check if indices are in ascending order after that.

  was:When I'm loading LibSVM from HDFS , I found feature index should be in ascending order . We can sorted with *indices* when we parse the input line input a (index, value) tuple and avoid check if indices are in ascending order after that.


> Support sort with index when parse LibSVM Record
> ------------------------------------------------
>
>                 Key: SPARK-21104
>                 URL: https://issues.apache.org/jira/browse/SPARK-21104
>             Project: Spark
>          Issue Type: Improvement
>          Components: MLlib
>    Affects Versions: 2.1.1
>            Reporter: darion yaphet
>            Priority: Minor
>
> When I'm loading LibSVM from HDFS , I found feature index should be in ascending order . 
> We can sorted with *indices* when we parse the input line input a (index, value) tuple and avoid check if indices are in ascending order after that.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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