[ 
https://issues.apache.org/jira/browse/SPARK-18201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Weichen Xu closed SPARK-18201.
------------------------------
    Resolution: Duplicate

It will fix in this PR https://github.com/apache/spark/pull/15628

> 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
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to