spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rzykov <rzy...@gmail.com>
Subject Re: Computing mean and standard deviation by key
Date Fri, 12 Sep 2014 06:46:51 GMT
Is it possible to use  DoubleRDDFunctions
<https://spark.apache.org/docs/1.0.0/api/java/org/apache/spark/rdd/DoubleRDDFunctions.html>
 
for calculating mean and std dev for Paired RDDs (key, value)?

Now I'm using an approach with ReduceByKey but want to make my code more
concise and readable.





--
View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Computing-mean-and-standard-deviation-by-key-tp11192p14062.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
For additional commands, e-mail: user-help@spark.apache.org


Mime
View raw message