public class MahalanobisDistance extends java.lang.Object implements Metric<double[]>
| Constructor and Description |
|---|
MahalanobisDistance(double[][] cov)
Constructor with given covariance matrix.
|
| Modifier and Type | Method and Description |
|---|---|
double |
d(double[] x,
double[] y)
Returns the distance measure between two objects.
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitapply, applyAsDouble, D, D