public class SparseEuclideanDistance extends Object implements Metric<SparseArray>
| Constructor and Description |
|---|
SparseEuclideanDistance()
Constructor.
|
SparseEuclideanDistance(double[] weight)
Constructor with a given weight vector.
|
public SparseEuclideanDistance()
public SparseEuclideanDistance(double[] weight)
weight - the weight vector.public double d(SparseArray x, SparseArray y)
Distanced in interface Distance<SparseArray>Copyright © 2015. All rights reserved.