Trains a k-means model using specified parameters and the default values for unspecified.
Trains a k-means model using specified parameters and the default values for unspecified.
Trains a k-means model using the given set of parameters.
Trains a k-means model using the given set of parameters.
training points stored as RDD[Vector]
number of clusters
max number of iterations
number of parallel runs, defaults to 1. The best model is returned.
initialization model, either "random" or "k-means||" (default).
Trains a k-means model using the given set of parameters.
Trains a k-means model using the given set of parameters.
training points stored as RDD[Vector]
number of clusters
max number of iterations
number of parallel runs, defaults to 1. The best model is returned.
initialization model, either "random" or "k-means||" (default).
random seed value for cluster initialization
Top-level methods for calling K-means clustering.