[
https://issues.apache.org/jira/browse/SPARK-7785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14555438#comment-14555438
]
Manoj Kumar commented on SPARK-7785:
------------------------------------
Sounds great. In the Pull Request, I just added support for __str__ and
__repr__ . But was there any particular need to have these classes in the first
place, since almost all of them are wrappers around numpy and scipy?
> Add pretty printing to pyspark.mllib.linalg.Matrices
> ----------------------------------------------------
>
> Key: SPARK-7785
> URL: https://issues.apache.org/jira/browse/SPARK-7785
> Project: Spark
> Issue Type: Sub-task
> Components: MLlib, PySpark
> Reporter: Manoj Kumar
>
> For DenseMatrices.
> Class Methods
> __str__, transpose
> Object Methods
> zeros, ones, eye, rand, randn, diag
> For SparseMatrices
> Class Methods
> __str__, transpose
> Object Methods,
> fromCoo, speye, sprand, sprandn, spdiag,
> Matrices Methods, horzcat, vertcat
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]