You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2017/06/01 09:43:04 UTC

[jira] [Resolved] (SPARK-20109) Need a way to convert from IndexedRowMatrix to Dense Block Matrices

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

Sean Owen resolved SPARK-20109.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 2.3.0

Issue resolved by pull request 17459
[https://github.com/apache/spark/pull/17459]

> Need a way to convert from IndexedRowMatrix to Dense Block Matrices
> -------------------------------------------------------------------
>
>                 Key: SPARK-20109
>                 URL: https://issues.apache.org/jira/browse/SPARK-20109
>             Project: Spark
>          Issue Type: New Feature
>          Components: MLlib
>    Affects Versions: 2.1.0
>            Reporter: John Compitello
>            Priority: Minor
>             Fix For: 2.3.0
>
>
> The current implementation of toBlockMatrix on IndexedRowMatrix is insufficient. It is implemented by first converting the IndexedRowMatrix to a CoordinateMatrix, then converting that CoordinateMatrix to a BlockMatrix. Not only is this slower than it needs to be, it also means that the created BlockMatrix ends up being backed by instances of SparseMatrix, which a user may not want. Users need an option to convert from IndexedRowMatrix to BlockMatrix that backs the BlockMatrix with local instances of DenseMatrix. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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