You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "John Compitello (JIRA)" <ji...@apache.org> on 2017/03/27 20:14:42 UTC
[jira] [Commented] (SPARK-20109) Need a way to convert from
IndexedRowMatrix to Block
[ https://issues.apache.org/jira/browse/SPARK-20109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15943966#comment-15943966 ]
John Compitello commented on SPARK-20109:
-----------------------------------------
I have a PR for this issue in the works, I'd like to be the one to handle it.
> Need a way to convert from IndexedRowMatrix to Block
> ----------------------------------------------------
>
> 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
>
> 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.
--
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