public interface Clusterer
| Modifier and Type | Method and Description |
|---|---|
Integer |
classify(double[] features)
Classifies a given sample and updates clusters.
|
double[] |
distribution(double[] features)
Predicts the cluster memberships for a given instance.
|
double[][] |
getCentroids()
Returns learned clusters as a
List of feature's means |
void |
reset() |
Integer |
update(double[] features)
Updates clusters with a given sample and return classification.
|
Integer classify(double[] features)
features - Integer update(double[] features)
features - double[] distribution(double[] features)
features - double[][] getCentroids()
List of feature's meansvoid reset()
Copyright © 2013. All rights reserved.