public class SpearmanCorrelation extends Object implements Correlation, Logging
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.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
computeCorrelation, computeCorrelationMatrix, computeCorrelationWithMatrixImpl
initializeIfNecessary, initializeLogging, isTraceEnabled, log_, log, logDebug, logDebug, logError, logError, logInfo, logInfo, logName, logTrace, logTrace, logWarning, logWarning