public interface ClusterDissimilarity
Modifier and Type | Method and Description |
---|---|
ClusterDissimilarity |
clone() |
double |
dissimilarity(List<DataPoint> a,
List<DataPoint> b)
Provides the notion of dissimilarity between two sets of points, that may
not have the same number of points.
|
double |
dissimilarity(Set<Integer> a,
Set<Integer> b,
double[][] distanceMatrix)
Provides the notion of dissimilarity between two sets of points, that may
not have the same number of points.
|
double |
distance(DataPoint a,
DataPoint b)
Provides the notion of distance, or dissimilarity, between two data points
|
double distance(DataPoint a, DataPoint b)
a
- the first data pointb
- the second data pointdouble dissimilarity(List<DataPoint> a, List<DataPoint> b)
a
- the first cluster of pointsb
- the second cluster of pointsdouble dissimilarity(Set<Integer> a, Set<Integer> b, double[][] distanceMatrix)
a
- the first set of indices of the original data set that are in a
cluster, which map to distanceMatrixb
- the second set of indices of the original data set that are in a
cluster, which map to distanceMatrixdistanceMatrix
- the upper triangual distance matrix as created by
AbstractClusterDissimilarity.createDistanceMatrix(jsat.DataSet, jsat.clustering.dissimilarity.ClusterDissimilarity)
ClusterDissimilarity clone()
Copyright © 2017. All rights reserved.