You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (Jira)" <ji...@apache.org> on 2019/10/08 05:42:18 UTC

[jira] [Resolved] (SPARK-4285) Transpose RDD[Vector] to column store for ML

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

Hyukjin Kwon resolved SPARK-4285.
---------------------------------
    Resolution: Incomplete

> Transpose RDD[Vector] to column store for ML
> --------------------------------------------
>
>                 Key: SPARK-4285
>                 URL: https://issues.apache.org/jira/browse/SPARK-4285
>             Project: Spark
>          Issue Type: Sub-task
>          Components: MLlib
>            Reporter: Joseph K. Bradley
>            Priority: Minor
>              Labels: bulk-closed
>
> For certain ML algorithms, a column store is more efficient than a row store (which is currently used everywhere).  E.g., deep decision trees can be faster to train when partitioning by features.
> Proposal: Provide a method with the following API (probably in util/):
> ```
> def rowToColumnStore(data: RDD[Vector]): RDD[(Int, Vector)]
> ```
> The input Vectors will be data rows/instances, and the output Vectors will be columns/features paired with column/feature indices.
> **Question**: Is it important to maintain matrix structure?  That is, should output Vectors in the same partition be adjacent columns in the matrix?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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