[ 
https://issues.apache.org/jira/browse/SPARK-12684?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chris Roberts updated SPARK-12684:
----------------------------------
    Description: 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.

> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to