public class SpearmanCorrelation
extends Object
Definition of Spearman's correlation can be found at http://en.wikipedia.org/wiki/Spearman's_rank_correlation_coefficient
Constructor and Description |
---|
SpearmanCorrelation() |
Modifier and Type | Method and Description |
---|---|
static double |
computeCorrelation(RDD<Object> x,
RDD<Object> y)
Compute Spearman's correlation for two datasets.
|
static Matrix |
computeCorrelationMatrix(RDD<Vector> X)
Compute Spearman's correlation matrix S, for the input matrix, where S(i, j) is the
correlation between column i and j.
|
static double |
computeCorrelationWithMatrixImpl(RDD<Object> x,
RDD<Object> y) |
static void |
org$apache$spark$internal$Logging$$log__$eq(org.slf4j.Logger x$1) |
static org.slf4j.Logger |
org$apache$spark$internal$Logging$$log_() |
public static double computeCorrelation(RDD<Object> x, RDD<Object> y)
x
- (undocumented)y
- (undocumented)public static Matrix computeCorrelationMatrix(RDD<Vector> X)
X
- (undocumented)public static double computeCorrelationWithMatrixImpl(RDD<Object> x, RDD<Object> y)
public static org.slf4j.Logger org$apache$spark$internal$Logging$$log_()
public static void org$apache$spark$internal$Logging$$log__$eq(org.slf4j.Logger x$1)