public interface Correlation
Modifier and Type | Method and Description |
---|---|
double |
computeCorrelation(RDD<Object> x,
RDD<Object> y)
Compute correlation for two datasets.
|
Matrix |
computeCorrelationMatrix(RDD<Vector> X)
Compute the correlation matrix S, for the input matrix, where S(i, j) is the correlation
between column i and j.
|
double |
computeCorrelationWithMatrixImpl(RDD<Object> x,
RDD<Object> y)
Combine the two input RDD[Double]s into an RDD[Vector] and compute the correlation using the
correlation implementation for RDD[Vector].
|
double computeCorrelation(RDD<Object> x, RDD<Object> y)
x
- (undocumented)y
- (undocumented)Matrix computeCorrelationMatrix(RDD<Vector> X)
X
- (undocumented)double computeCorrelationWithMatrixImpl(RDD<Object> x, RDD<Object> y)
x
- (undocumented)y
- (undocumented)