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

Sidharth Rajeev commented on SPARK-13508:
-----------------------------------------

Ok. I will close this issue and if the helper method is there it will be good, 
rather doing the below code everytime:

String tmp2=summaries.variance().toString().replace("[", "").replace("]", "");
                        Double value2 =Double.parseDouble(tmp2);
                        double varianceValue = Math.round( value2 * 100.0 ) / 
100.0;
                        double sdValue = Math.sqrt(varianceValue);


> For direct retrival of Standard Deviation for Anlaytics
> -------------------------------------------------------
>
>                 Key: SPARK-13508
>                 URL: https://issues.apache.org/jira/browse/SPARK-13508
>             Project: Spark
>          Issue Type: New Feature
>          Components: MLlib
>         Environment: Operating System:ubuntu
> Software : Spark
> Harware Specification:Normal
>            Reporter: Sidharth Rajeev
>            Priority: Minor
>              Labels: easyfix, newbie
>   Original Estimate: 0.05h
>  Remaining Estimate: 0.05h
>
> As part of easying up the analytical capabilities, I would like to add the 
> standard deviation as such. As of now variance is directly available. Its 
> square root will give the standard deviation. But as direct functionality it 
> will save the time of the data analysts/scientists.



--
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