org.encog.ml.hmm.train.kmeans

## Class Clusters

- java.lang.Object
- - org.encog.ml.hmm.train.kmeans.Clusters

-     public class Clusters
      extends Object

  Clusters used for the KMeans HMM training algorithm.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Clusters(int k, MLDataSet observations)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Collection<MLDataPair>` | `cluster(int clusterNb)`
    `int` | `cluster(MLDataPair o)`
    `boolean` | `isInCluster(MLDataPair o, int x)`
    `void` | `put(MLDataPair o, int clusterNb)`
    `void` | `remove(MLDataPair o, int clusterNb)`

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

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

- - ### Constructor Detail

    - #### Clusters

          public Clusters(int k,
                  MLDataSet observations)

  - ### Method Detail

    - #### cluster

          public Collection<MLDataPair> cluster(int clusterNb)

    - #### cluster

          public int cluster(MLDataPair o)

    - #### isInCluster

          public boolean isInCluster(MLDataPair o,
                            int x)

    - #### put

          public void put(MLDataPair o,
                 int clusterNb)

    - #### remove

          public void remove(MLDataPair o,
                    int clusterNb)

Copyright © 2014. All Rights Reserved.