public static class MixtureOfGaussians.Learner extends AnytimeAlgorithmWrapper<MixtureOfGaussians.PDF,KMeansClusterer<Vector,GaussianCluster>> implements DistributionEstimator<Vector,MixtureOfGaussians.PDF>, MeasurablePerformanceAlgorithm
DEFAULT_ITERATION, iteration| Constructor and Description |
|---|
Learner(KMeansClusterer<Vector,GaussianCluster> algorithm)
Creates a new Learner
|
| Modifier and Type | Method and Description |
|---|---|
NamedValue<? extends java.lang.Number> |
getPerformance()
Gets the name-value pair that describes the current performance of the
algorithm.
|
MixtureOfGaussians.PDF |
getResult()
Gets the current result of the algorithm.
|
MixtureOfGaussians.PDF |
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, waitcloneaddIterativeAlgorithmListener, removeIterativeAlgorithmListenerpublic Learner(KMeansClusterer<Vector,GaussianCluster> algorithm)
algorithm - KMeansClusterer to wrap.public MixtureOfGaussians.PDF getResult()
AnytimeAlgorithmgetResult in interface AnytimeAlgorithm<MixtureOfGaussians.PDF>public MixtureOfGaussians.PDF 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>,MixtureOfGaussians.PDF>data - The data that the learning algorithm will use to create an
object of ResultType.public NamedValue<? extends java.lang.Number> getPerformance()
MeasurablePerformanceAlgorithmgetPerformance in interface MeasurablePerformanceAlgorithm