Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-20109

Need a way to convert from IndexedRowMatrix to Dense Block Matrices

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.3.0
    • Component/s: MLlib
    • Labels:
      None

      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.

        Attachments

          Activity

            People

            • Assignee:
              johnc1231 John Compitello
              Reporter:
              johnc1231 John Compitello
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: