Weichen Xu created SPARK-18201:
----------------------------------

             Summary: add toDense and toSparse into Matrix trait, like Vector 
design
                 Key: SPARK-18201
                 URL: https://issues.apache.org/jira/browse/SPARK-18201
             Project: Spark
          Issue Type: Improvement
          Components: ML
    Affects Versions: 2.1.0
            Reporter: Weichen Xu


add toDense and toSparse into Matrix trait, like Vector design

so that when we have a Matrix object `matrix: Matrix`, maybe dense or sparse,
we can call `matrix.toDense` to get DenseMatrix
and call `matrix.toSparse` to get SparseMatrix



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to