public static class IntKMeans.Result extends IntCentroidsResult implements IntNearestNeighboursProvider
| Modifier and Type | Field and Description | 
|---|---|
| protected int | changedCentroidCount | 
| protected int | iterations | 
| protected IntNearestNeighbours | nn | 
centroidsCLUSTER_HEADER| Constructor and Description | 
|---|
| Result() | 
| Modifier and Type | Method and Description | 
|---|---|
| HardAssigner<int[],float[],IntFloatPair> | defaultHardAssigner()Get the default hard assigner for this clusterer. | 
| IntNearestNeighbours | getNearestNeighbours() | 
| int | numChangedCentroids()Get the number of changed centroids in the last iteration. | 
| int | numIterations()Get the number of K-Means iterations that produced this result. | 
asciiHeader, binaryHeader, equals, getCentroids, numClusters, numDimensions, readASCII, readBinary, toString, writeASCII, writeBinaryprotected IntNearestNeighbours nn
protected int iterations
protected int changedCentroidCount
public Result()
public HardAssigner<int[],float[],IntFloatPair> defaultHardAssigner()
SpatialClustersdefaultHardAssigner in interface SpatialClusters<int[]>defaultHardAssigner in class IntCentroidsResultpublic IntNearestNeighbours getNearestNeighbours()
getNearestNeighbours in interface IntNearestNeighboursProviderpublic int numIterations()
public int numChangedCentroids()