Package org.apache.spark.mllib.stat.correlation
package org.apache.spark.mllib.stat.correlation
-
ClassDescriptionTrait for correlation algorithms.Maintains supported and default correlation names.Delegates computation to the specific correlation object based on the input method name.Compute Pearson correlation for two RDDs of the type RDD[Double] or the correlation matrix for an RDD of the type RDD[Vector].Compute Spearman's correlation for two RDDs of the type RDD[Double] or the correlation matrix for an RDD of the type RDD[Vector].