|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.encog.ml.train.BasicTraining
org.encog.neural.som.training.clustercopy.SOMClusterCopyTraining
public class SOMClusterCopyTraining
SOM 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.
Constructor Summary | |
---|---|
SOMClusterCopyTraining(SOM network,
MLDataSet training)
Construct the object. |
Method Summary | |
---|---|
boolean |
canContinue()
|
MLMethod |
getMethod()
Get the current best machine learning method from the training. |
boolean |
isTrainingDone()
|
void |
iteration()
Perform one iteration of training. |
TrainingContinuation |
pause()
Pause the training to continue later. |
void |
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SOMClusterCopyTraining(SOM network, MLDataSet training)
network
- The network to train.training
- The training data.Method Detail |
---|
public final boolean canContinue()
public boolean isTrainingDone()
isTrainingDone
in interface MLTrain
isTrainingDone
in class BasicTraining
public final MLMethod getMethod()
public void iteration()
public TrainingContinuation pause()
public void resume(TrainingContinuation state)
state
- The training continuation object to use to continue.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |