- All Implemented Interfaces:
public class SOMClusterCopyTrainingextends BasicTrainingSOM cluster copy is a very simple trainer for SOM's. Using this trainer all of the training data is copied to the SOM weights. This can provide a functional SOM, or can be used as a starting point for training. For now, this trainer will only work if you have equal or fewer training elements to the number of output neurons. Eventually I hope to expand this by using KMeans clustering.
Constructors Constructor and Description
SOMClusterCopyTraining(SOM network, MLDataSet training)Construct the object.
Methods Modifier and Type Method and Description
getMethod()Get the current best machine learning method from the training.
iteration()Perform one iteration of training.
pause()Pause the training to continue later.
resume(TrainingContinuation state)Resume training.
Methods inherited from class org.encog.ml.train.BasicTraining
addStrategy, finishTraining, getError, getImplementationType, getIteration, getStrategies, getTraining, iteration, postIteration, preIteration, setError, setIteration, setTraining
public final boolean canContinue()
- True if the training can be paused, and later continued.
public boolean isTrainingDone()
public final MLMethod getMethod()Get the current best machine learning method from the training.
- The best machine learningm method.
public void iteration()Perform one iteration of training.
public TrainingContinuation pause()Pause the training to continue later.
- A training continuation object.
public void resume(TrainingContinuation state)Resume training.
state- The training continuation object to use to continue.
SCaVis 1.7 © jWork.org