public static class GaussianContextRecognizer.Learner extends AnytimeAlgorithmWrapper<GaussianContextRecognizer,AnytimeBatchLearner<java.util.Collection<? extends Vector>,java.util.Collection<GaussianCluster>>> implements AnytimeBatchLearner<java.util.Collection<? extends Vector>,GaussianContextRecognizer>, MeasurablePerformanceAlgorithm
DEFAULT_ITERATION, iteration| Constructor and Description |
|---|
Learner()
Creates a new
Learner. |
Learner(KMeansClusterer<Vector,GaussianCluster> algorithm)
Creates a new instance of Learner
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<? extends Vector> |
getData()
Gets the data to use for learning.
|
boolean |
getKeepGoing()
Gets the keep going value, which indicates if the algorithm should
continue on to another step.
|
NamedValue<? extends java.lang.Number> |
getPerformance()
Gets the name-value pair that describes the current performance of the
algorithm.
|
GaussianContextRecognizer |
getResult()
Gets the current result of the algorithm.
|
GaussianContextRecognizer |
learn(java.util.Collection<? extends Vector> data)
The
learn method creates an object of ResultType using
data of type DataType, using some form of "learning" algorithm. |
algorithmEnded, algorithmStarted, clone, getAlgorithm, getIteration, getMaxIterations, isResultValid, readResolve, setAlgorithm, setMaxIterations, stepEnded, stepStarted, stopaddIterativeAlgorithmListener, fireAlgorithmEnded, fireAlgorithmStarted, fireStepEnded, fireStepStarted, getListeners, removeIterativeAlgorithmListener, setIteration, setListenersequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMaxIterations, setMaxIterationsaddIterativeAlgorithmListener, getIteration, removeIterativeAlgorithmListenerisResultValid, stopclonepublic Learner()
Learner.public Learner(KMeansClusterer<Vector,GaussianCluster> algorithm)
algorithm - Clustering algorithm to create the GaussianContextRecognizer frompublic GaussianContextRecognizer learn(java.util.Collection<? extends Vector> data)
BatchLearnerlearn method creates an object of ResultType using
data of type DataType, using some form of "learning" algorithm.learn in interface BatchLearner<java.util.Collection<? extends Vector>,GaussianContextRecognizer>data - The data that the learning algorithm will use to create an
object of ResultType.public GaussianContextRecognizer getResult()
AnytimeAlgorithmgetResult in interface AnytimeAlgorithm<GaussianContextRecognizer>public NamedValue<? extends java.lang.Number> getPerformance()
MeasurablePerformanceAlgorithmgetPerformance in interface MeasurablePerformanceAlgorithmpublic boolean getKeepGoing()
AnytimeBatchLearnergetKeepGoing in interface AnytimeBatchLearner<java.util.Collection<? extends Vector>,GaussianContextRecognizer>public java.util.Collection<? extends Vector> getData()
AnytimeBatchLearnergetData in interface AnytimeBatchLearner<java.util.Collection<? extends Vector>,GaussianContextRecognizer>