org.encog.neural.cpn.training
public class TrainOutstar extends BasicTraining implements LearningRate
Constructor and Description |
---|
TrainOutstar(CPN theNetwork,
MLDataSet theTraining,
double theLearningRate)
Construct the outstar trainer.
|
Modifier and Type | Method and Description |
---|---|
boolean |
canContinue() |
double |
getLearningRate() |
MLMethod |
getMethod()
Get the current best machine learning method from the training.
|
void |
iteration()
Perform one iteration of training.
|
TrainingContinuation |
pause()
Pause the training to continue later.
|
void |
resume(TrainingContinuation state)
Resume training.
|
void |
setLearningRate(double rate)
Set the learning rate.
|
addStrategy, finishTraining, getError, getImplementationType, getIteration, getStrategies, getTraining, isTrainingDone, iteration, postIteration, preIteration, setError, setIteration, setTraining
public boolean canContinue()
canContinue
in interface MLTrain
public double getLearningRate()
getLearningRate
in interface LearningRate
public MLMethod getMethod()
public void iteration()
public TrainingContinuation pause()
public void resume(TrainingContinuation state)
public void setLearningRate(double rate)
setLearningRate
in interface LearningRate
rate
- The new learning rateCopyright © 2014. All Rights Reserved.