[ 
https://issues.apache.org/jira/browse/SPARK-18201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15625733#comment-15625733
 ] 

Apache Spark commented on SPARK-18201:
--------------------------------------

User 'WeichenXu123' has created a pull request for this issue:
https://github.com/apache/spark/pull/15716

> 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