public class MiniBatchCentroidCluster extends CentroidCluster<Vector>
centroidDEFAULT_INDEX| Constructor and Description |
|---|
MiniBatchCentroidCluster(java.util.Collection<? extends Vector> initialPoints) |
| Modifier and Type | Method and Description |
|---|---|
void |
updateCluster(java.util.Collection<? extends Vector> dataPoints)
Updates the clusters for all the given points.
|
void |
updateCluster(Vector dataPoint)
Updates the cluster for the given point.
|
getCentroid, setCentroidclone, getIndex, getMembers, setIndexpublic MiniBatchCentroidCluster(java.util.Collection<? extends Vector> initialPoints)
initialPoints - public void updateCluster(Vector dataPoint)
dataPoint - The example to update for.public void updateCluster(java.util.Collection<? extends Vector> dataPoints)
dataPoints - The examples to update.