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