org.encog.ml

## Interface MLClustering

- All Superinterfaces:
    MLMethod
  All Known Implementing Classes:
    KMeansClustering

      public interface MLClustering
      extends MLMethod

  A machine learning method that is used to break data into clusters. The number of clusters is usually defined beforehand. This differs from the MLClassification method in that the data is clustered as an entire group. If additional data must be clustered later, the entire group must be reclustered.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `MLCluster[]` | `getClusters()`
    `void` | `iteration()` Perform the training iteration.
    `void` | `iteration(int count)` Perform the specified number of training iterations.
    `int` | `numClusters()`

- - ### Method Detail

    - #### iteration

          void iteration()

      Perform the training iteration.

    - #### iteration

          void iteration(int count)

      Perform the specified number of training iterations.
      Parameters:
        `count` - The number of training iterations.

    - #### getClusters

          MLCluster[] getClusters()

      Returns:
        The clusters.

    - #### numClusters

          int numClusters()

      Returns:
        The number of clusters.

Copyright © 2014. All Rights Reserved.