Fields Modifier and Type Field and Description
Constructors Constructor and Description
FreeformPropagationTraining()Don't use this constructor, it is for serialization only.
FreeformPropagationTraining(FreeformNetwork theNetwork, MLDataSet theTraining)
Methods Modifier and Type Method and Description
finishTraining()Should be called after training has completed and the iteration method will not be called any further.
getMethod()Get the current best machine learning method from the training.
iteration()Perform one iteration of training.
iteration(int count)Perform the specified number of training iterations.
setIteration(int iteration)Set the current training iteration.
Methods inherited from class org.encog.ml.train.BasicTraining
addStrategy, getStrategies, postIteration, preIteration, setTraining
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static final double FLAT_SPOT_CONST
- See Also:
- Constant Field Values
public FreeformPropagationTraining()Don't use this constructor, it is for serialization only.
public boolean canContinue()
public void finishTraining()Should be called after training has completed and the iteration method will not be called any further.
public double getError()
- Specified by:
- Returns the training error. This value is calculated as the training data is evaluated by the iteration function. This has two important ramifications. First, the value returned by getError() is meaningless prior to a call to iteration. Secondly, the error is calculated BEFORE training is applied by the call to iteration. The timing of the error calculation is done for performance reasons.
public TrainingImplementationType getImplementationType()
public int getIteration()
public MLMethod getMethod()Get the current best machine learning method from the training.
public MLDataSet getTraining()
public boolean isFixFlatSopt()
public boolean isTrainingDone()
public void iteration()Perform one iteration of training.
public void iteration(int count)Perform the specified number of training iterations. This is a basic implementation that just calls iteration the specified number of times. However, some training methods, particularly with the GPU, benefit greatly by calling with higher numbers than 1.
public void setError(double theError)
public void setFixFlatSopt(boolean fixFlatSopt)
SCaVis 2.0 © jWork.ORG