- All Implemented Interfaces:
- Serializable
- Enclosing class:
- KMeansClusterer<T>
public static class KMeansClusterer.NotEnoughClustersException
extends RuntimeException
An exception that indicates that the specified data points cannot be
clustered into the number of clusters requested by the user.
This will happen if and only if there are fewer distinct points than
requested clusters. (If there are fewer total data points than
requested clusters, IllegalArgumentException
will be thrown.)
- Author:
- Joshua O'Madadhain
- See Also:
- Serialized Form