Package | Description |
---|---|
org.apache.ignite.ml.clustering.kmeans |
Contains kMeans clustering algorithm.
|
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.
|
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.
|
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.10.0 Release Date : March 10 2021