org.apache.ignite.ml.clustering.kmeans

## Class KMeansModelFormat

- java.lang.Object
- - org.apache.ignite.ml.clustering.kmeans.KMeansModelFormat

- All Implemented Interfaces:
    Serializable

      public class KMeansModelFormat
      extends Object
      implements Serializable

  K-means model representation.
  See Also:
    `Exportable`, `Exporter`, Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `KMeansModelFormat(Vector[] centers, DistanceMeasure distance)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(Object obj)`
    `Vector[]` | `getCenters()`
    `DistanceMeasure` | `getDistance()`
    `int` | `hashCode()`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### KMeansModelFormat

          public KMeansModelFormat(Vector[] centers,
                                   DistanceMeasure distance)

  - ### Method Detail

    - #### getDistance

          public DistanceMeasure getDistance()

    - #### getCenters

          public Vector[] getCenters()

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### equals

          public boolean equals(Object obj)

      Overrides:
        `equals` in class `Object`

2021 Copyright © Apache Software Foundation
| Follow @ApacheIgnite
Ignite Database and Caching Platform | : ver. 2.11.0
Release Date | : September 11 2021