org.apache.ignite.ml.clustering.kmeans

## Interface ClusterizationModel<P,V>

- All Superinterfaces:
    AutoCloseable, IgniteModel<P,V>, Model<P,V>, Serializable
  All Known Implementing Classes:
    KMeansModel

      public interface ClusterizationModel<P,V>
      extends IgniteModel<P,V>

  Base interface for all clusterization models.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getAmountOfClusters()` Gets the clusters count.
    `P[]` | `getCenters()` Get cluster centers.

    - ### Methods inherited from interface org.apache.ignite.ml.IgniteModel

      `andBefore, andThen, andThen, close, combine, toString`

    - ### Methods inherited from interface org.apache.ignite.ml.inference.Model

      `predict`

- - ### Method Detail

    - #### getAmountOfClusters

          int getAmountOfClusters()

      Gets the clusters count.

    - #### getCenters

          P[] getCenters()

      Get cluster centers.

2020 Copyright © Apache Software Foundation
| Follow @ApacheIgnite
Ignite Database and Caching Platform | : ver. 2.9.1
Release Date | : December 9 2020