You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Weichen Xu (JIRA)" <ji...@apache.org> on 2016/11/01 15:37:58 UTC

[jira] [Created] (SPARK-18201) add toDense and toSparse into Matrix trait, like Vector design

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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org