public interface ICentroidClustering
| Modifier and Type | Method and Description |
|---|---|
void |
Compute(DatasetClassification dataset)
Compute the data.
|
void |
Compute(double[][] input)
Compute the data.
|
double[][] |
getCentroids()
Get the centroids of the clustering.
|
int |
Predict(double[] x)
Cluster a new instance.
|
void Compute(DatasetClassification dataset)
dataset - Dataset.void Compute(double[][] input)
input - Data.int Predict(double[] x)
x - a new instance.double[][] getCentroids()