[ https://issues.apache.org/jira/browse/SPARK-20109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Compitello updated SPARK-20109: ------------------------------------ Description: 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. (was: 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. ) > 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 > > 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org