- KMeans - Class in <Unnamed>
-
KMeans - Perform k-means clustering on standard input data and print results to standard output according to
Model AI Assignment specifications.
- KMeans(int) - Constructor for class KMeans
-
Given a parameter k specifying the number of clusters, read data points from standard input,
perform k-means clustering, and print the centroids and clustered data to standard output.
- kMeansCluster() - Method in class KMeans
-
Perform k-means clustering with Forgy initialization and return the 0-based cluster assignments for corresponding data points..
- kMeansCluster() - Method in class KMeansIterated
-
Perform k-means clustering with Forgy initialization and return the 0-based cluster assignments for corresponding data points..
- kMeansCluster() - Method in class KMeansIteratedGap
-
Perform k-means clustering with Forgy initialization and return the 0-based cluster assignments for corresponding data points..
- KMeansIterated - Class in <Unnamed>
-
KMeansIterated - Perform iterated k-means clustering on standard input data and print results to standard output
according to Model AI Assignment specifications.
- KMeansIterated(int) - Constructor for class KMeansIterated
-
Given a parameter k specifying the number of clusters, read data points from standard input,
perform iterated k-means clustering, and print the minimum WCSS centroids and clustered data
to standard output.
- KMeansIteratedGap - Class in <Unnamed>
-
KMeansIteratedGap - Perform iterated k-means clustering on standard input data for k from 1 to a given maximum,
choose k according to the gap statistic, and print results to standard output according to Model AI Assignment
specifications.
- KMeansIteratedGap(int, int) - Constructor for class KMeansIteratedGap
-
Given a parameter k specifying the maximum number of clusters, read data points from standard input,
perform iterated k-means clustering for each k from the minimum to the maximum, choose the k having
the greatest gap statistic, and print the minimum WCSS centroids and clustered data to standard output.