org.encog.neural.networks.training.propagation.scg
Class ScaledConjugateGradient

java.lang.Object
  extended by org.encog.ml.train.BasicTraining
      extended by org.encog.neural.networks.training.propagation.Propagation
          extended by org.encog.neural.networks.training.propagation.scg.ScaledConjugateGradient
All Implemented Interfaces:
MLTrain, Train, MultiThreadable

public class ScaledConjugateGradient
extends Propagation

This is a training class that makes use of scaled conjugate gradient methods. It is a very fast and efficient training algorithm.


Constructor Summary
ScaledConjugateGradient(ContainsFlat network, MLDataSet training)
          Construct a training class.
 
Method Summary
 boolean canContinue()
          This training type does not support training continue.
 TrainingContinuation pause()
          This training type does not support training continue.
 void resume(TrainingContinuation state)
          This training type does not support training continue.
 
Methods inherited from class org.encog.neural.networks.training.propagation.Propagation
finishTraining, fixFlatSpot, getCurrentFlatNetwork, getFlatTraining, getMethod, getThreadCount, iteration, iteration, setErrorFunction, setFlatTraining, setThreadCount
 
Methods inherited from class org.encog.ml.train.BasicTraining
addStrategy, getError, getImplementationType, getIteration, getStrategies, getTraining, isTrainingDone, postIteration, preIteration, setError, setIteration, setTraining
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.encog.ml.train.MLTrain
addStrategy, getError, getImplementationType, getIteration, getStrategies, getTraining, isTrainingDone, setError, setIteration
 

Constructor Detail

ScaledConjugateGradient

public ScaledConjugateGradient(ContainsFlat network,
                               MLDataSet training)
Construct a training class.

Parameters:
network - The network to train.
training - The training data.
Method Detail

canContinue

public final boolean canContinue()
This training type does not support training continue.

Returns:
Always returns false.

pause

public final TrainingContinuation pause()
This training type does not support training continue.

Returns:
Always returns null.

resume

public final void resume(TrainingContinuation state)
This training type does not support training continue.

Parameters:
state - Not used.


Copyright © 2011. All Rights Reserved.