You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2016/11/01 15:40:58 UTC
[jira] [Commented] (SPARK-18201) add toDense and toSparse into
Matrix trait, like Vector design
[ 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org