spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 诺铁 <>
Subject how to use DoubleRDDFunctions on mllib Vector?
Date Wed, 08 Jul 2015 03:26:27 GMT

there are some useful functions in DoubleRDDFunctions, which I can use if I
have RDD[Double], eg, mean, variance.

Vector doesn't have such methods, how can I convert Vector to RDD[Double],
or maybe better if I can call mean directly on a Vector?

View raw message