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