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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Clusters
public Clusters(int k,
MLDataSet observations)
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.