## Uses of Class
org.apache.ignite.ml.clustering.kmeans.KMeansModel

- Packages that use KMeansModel
  Package | Description
  --- | ---
  org.apache.ignite.ml.clustering.kmeans | Contains kMeans clustering algorithm.

- - ### Uses of KMeansModel in org.apache.ignite.ml.clustering.kmeans

    Methods in org.apache.ignite.ml.clustering.kmeans that return KMeansModel
    Modifier and Type | Method and Description
    --- | ---
    `KMeansModel` | KMeansModel.KMeansJSONExportModel.`convert()` Convert JSON string to IgniteModel object.
    `<K,V> KMeansModel` | KMeansTrainer.`fitWithInitializedDeployingContext(DatasetBuilder<K,V> datasetBuilder, Preprocessor<K,V> preprocessor)` Trains model based on the specified data.
    `static KMeansModel` | KMeansModel.`fromJSON(Path path)` Loads KMeansModel from JSON file.
    `protected <K,V> KMeansModel` | KMeansTrainer.`updateModel(KMeansModel mdl, DatasetBuilder<K,V> datasetBuilder, Preprocessor<K,V> preprocessor)` Gets state of model in arguments, update in according to new data and return new model.
    `KMeansModel` | KMeansModel.`withCentroids(Vector[] centers)` Set up the centroids.
    `KMeansModel` | KMeansModel.`withDistanceMeasure(DistanceMeasure distanceMeasure)` Set up the distance measure.

    Methods in org.apache.ignite.ml.clustering.kmeans with parameters of type KMeansModel
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | KMeansTrainer.`isUpdateable(KMeansModel mdl)`
    `protected <K,V> KMeansModel` | KMeansTrainer.`updateModel(KMeansModel mdl, DatasetBuilder<K,V> datasetBuilder, Preprocessor<K,V> preprocessor)` Gets state of model in arguments, update in according to new data and return new model.

${current.year} Copyright © Apache Software Foundation
| Follow @ApacheIgnite
Ignite Database and Caching Platform | : ver. 2.15.0
Release Date | : April 25 2023