| Modifier and Type | Field and Description |
|---|---|
| private final KMeansPlusPlusClusterer | clusterer
The underlying k-means clusterer. |
| private final ClusterEvaluator | evaluator
The cluster evaluator to use. |
| private final int | numTrials
The number of trial runs. |
| Access | Constructor and Description |
|---|---|
| public | MultiKMeansPlusPlusClusterer(final KMeansPlusPlusClusterer<T>
the k-means clusterer to use clusterer, final int number of trial runs numTrials)Build a clusterer. |
| public | MultiKMeansPlusPlusClusterer(final KMeansPlusPlusClusterer<T>
the k-means clusterer to use clusterer, final int number of trial runs numTrials, final ClusterEvaluator<T> the cluster evaluator to use evaluator)Build a clusterer. |
| Modifier and Type | Method and Description |
|---|---|
| public List | Returns: a list of clusters containing the pointsthe points to cluster points)Implements abstract org. Runs the K-means++ clustering algorithm. |
| public KMeansPlusPlusClusterer | Returns: the embedded clustererReturns the embedded k-means clusterer used by this instance. |
| public ClusterEvaluator | Returns: the usedClusterEvaluatorReturns the |
| public int |
| clusterer | back to summary |
|---|---|
| private final KMeansPlusPlusClusterer<T> clusterer The underlying k-means clusterer. | |
| evaluator | back to summary |
|---|---|
| private final ClusterEvaluator<T> evaluator The cluster evaluator to use. | |
| numTrials | back to summary |
|---|---|
| private final int numTrials The number of trial runs. | |
| MultiKMeansPlusPlusClusterer | back to summary |
|---|---|
| public MultiKMeansPlusPlusClusterer(final KMeansPlusPlusClusterer<T> clusterer, final int numTrials) Build a clusterer.
| |
| MultiKMeansPlusPlusClusterer | back to summary |
|---|---|
| public MultiKMeansPlusPlusClusterer(final KMeansPlusPlusClusterer<T> clusterer, final int numTrials, final ClusterEvaluator<T> evaluator) Build a clusterer.
| |
| cluster | back to summary |
|---|---|
| public List Implements abstract org. Runs the K-means++ clustering algorithm.
| |
| getClusterer | back to summary |
|---|---|
| public KMeansPlusPlusClusterer Returns the embedded k-means clusterer used by this instance.
| |
| getClusterEvaluator | back to summary |
|---|---|
| public ClusterEvaluator Returns the
| |
| getNumTrials | back to summary |
|---|---|
| public int getNumTrials() Returns the number of trials this instance will do.
| |