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

holdenk commented on SPARK-12684:
---------------------------------

So I think this issue is probably related to 
https://issues.apache.org/jira/browse/SPARK-11408 (if not in code at least we 
should have a consistent API between the two).

> Matrix.toString should take a format for how each cell should be printed
> ------------------------------------------------------------------------
>
>                 Key: SPARK-12684
>                 URL: https://issues.apache.org/jira/browse/SPARK-12684
>             Project: Spark
>          Issue Type: Improvement
>          Components: MLlib
>            Reporter: Chris Roberts
>            Priority: Minor
>
> Currently there is no way to control how long the printout of a cell value is 
> in Matrix.toString.  In the case where I am printing the results of 
> Statistics.corr(RDD[Vector]) I get a bunch of doubles with ~19 characters, 
> when I only realistically have at most 5 significant digits.  I would love to 
> be able to pass in a format to limit the printing out of extraneous digits.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to