public class GaussianKLDivergence extends Object implements DistanceComparator<MultivariateGaussian>
Constructor and Description |
---|
GaussianKLDivergence() |
Modifier and Type | Method and Description |
---|---|
double |
compare(MultivariateGaussian o1,
MultivariateGaussian o2)
Compare two objects, returning a score
or distance.
|
boolean |
isDistance() |
public GaussianKLDivergence()
public boolean isDistance()
isDistance
in interface DistanceComparator<MultivariateGaussian>
public double compare(MultivariateGaussian o1, MultivariateGaussian o2)
DistanceComparator
compare
in interface DistanceComparator<MultivariateGaussian>
o1
- the first objecto2
- the second object