Package | Description |
---|---|
org.apache.commons.math3.ml.clustering |
Clustering algorithms.
|
Modifier and Type | Field and Description |
---|---|
private java.util.List<CentroidCluster<T>> |
FuzzyKMeansClusterer.clusters
The list of clusters resulting from the last call to
FuzzyKMeansClusterer.cluster(Collection) . |
Modifier and Type | Method and Description |
---|---|
private java.util.List<CentroidCluster<T>> |
KMeansPlusPlusClusterer.chooseInitialCenters(java.util.Collection<T> points)
Use K-means++ to choose the initial centers.
|
java.util.List<CentroidCluster<T>> |
KMeansPlusPlusClusterer.cluster(java.util.Collection<T> points)
Runs the K-means++ clustering algorithm.
|
java.util.List<CentroidCluster<T>> |
FuzzyKMeansClusterer.cluster(java.util.Collection<T> dataPoints)
Performs Fuzzy K-Means cluster analysis.
|
java.util.List<CentroidCluster<T>> |
MultiKMeansPlusPlusClusterer.cluster(java.util.Collection<T> points)
Runs the K-means++ clustering algorithm.
|
java.util.List<CentroidCluster<T>> |
FuzzyKMeansClusterer.getClusters()
Returns the list of clusters resulting from the last call to
FuzzyKMeansClusterer.cluster(Collection) . |
Modifier and Type | Method and Description |
---|---|
private int |
KMeansPlusPlusClusterer.assignPointsToClusters(java.util.List<CentroidCluster<T>> clusters,
java.util.Collection<T> points,
int[] assignments)
Adds the given points to the closest
Cluster . |
private T |
KMeansPlusPlusClusterer.getFarthestPoint(java.util.Collection<CentroidCluster<T>> clusters)
Get the point farthest to its cluster center
|
private int |
KMeansPlusPlusClusterer.getNearestCluster(java.util.Collection<CentroidCluster<T>> clusters,
T point)
Returns the nearest
Cluster to the given point |
private T |
KMeansPlusPlusClusterer.getPointFromLargestVarianceCluster(java.util.Collection<CentroidCluster<T>> clusters)
Get a random point from the
Cluster with the largest distance variance. |