spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manoj Kumar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-7785) Add pretty printing to pyspark.mllib.linalg.Matrices
Date Fri, 22 May 2015 01:54:17 GMT

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


Mime
View raw message