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 2015/04/03 08:49:53 UTC
[jira] [Commented] (SPARK-6693) add to string with max lines and
width for matrix
[ https://issues.apache.org/jira/browse/SPARK-6693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14394146#comment-14394146 ]
Apache Spark commented on SPARK-6693:
-------------------------------------
User 'hhbyyh' has created a pull request for this issue:
https://github.com/apache/spark/pull/5344
> add to string with max lines and width for matrix
> -------------------------------------------------
>
> Key: SPARK-6693
> URL: https://issues.apache.org/jira/browse/SPARK-6693
> Project: Spark
> Issue Type: Improvement
> Components: MLlib
> Affects Versions: 1.3.0
> Reporter: yuhao yang
> Priority: Minor
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> It's kind of annoying when debugging and found you cannot print out the matrix as you want.
> original toString of Matrix only print like following,
> 0.17810102596909183 0.5616906241468385 ... (100 total)
> 0.9692861997823815 0.015558159784155756 ...
> 0.8513015122819192 0.031523763918528847 ...
> 0.5396875653953941 0.3267864552779176 ...
> The def toString(maxLines : Int, maxWidth : Int) is useful when debuging, logging and saving matrix to files.
--
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