org.neuroph.contrib.bpbench
Class TrainingSettings
- java.lang.Object
-
- org.neuroph.contrib.bpbench.TrainingSettings
-
public class TrainingSettings extends java.lang.ObjectHolds settings for individual training
-
-
Constructor Summary
Constructors Constructor and Description TrainingSettings(double learningRate, double momentum, int hiddenNeurons, int maxIterations, double maxError, boolean batchMode)Create instance of training settings with given parameters
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description doublegetDecreaseFactor()Return decrease factor for resilient propagationintgetHiddenNeurons()Return number of neurons in hidden layer for this trainingdoublegetIncreaseFactor()Return increase factor for resilient propagationdoublegetInitialDelta()Return initial delta for resilient propagationdoublegetLearningRate()Return learning rate for this trainingdoublegetMaxDelta()Return maximum delta for resilient propagationdoublegetMaxError()Return maximum total error for this trainingintgetMaxIterations()Return maximum number of iterations for this trainingdoublegetMinDelta()Return minimum delta for resilient propagationdoublegetMomentum()Return momentum for this trainingbooleanisBatchMode()Return batch mode statevoidsetBatchMode(boolean batchMode)Set batch mode for this trainingvoidsetDecreaseFactor(double decreaseFactor)Set decrease factor for resilient propagationvoidsetHiddenNeurons(int hiddenNeurons)Set number of neurons in hidden layer for this trainingvoidsetIncreaseFactor(double increaseFactor)Set increase factor for resilient propagationvoidsetInitialDelta(double initialDelta)Set initial delta for resilient propagationvoidsetLearningRate(double learningRate)Set learning rate for this trainingvoidsetMaxDelta(double maxDelta)Set maximum delta for resilient propagationvoidsetMaxError(double maxError)Set maximum total error for this trainingvoidsetMaxIterations(int maxIterations)Set maximum number of iterations for this trainingvoidsetMinDelta(double minDelta)Set minimum delta for resilient propagationvoidsetMomentum(double momentum)Set momentum for this training
-
-
-
Constructor Detail
-
TrainingSettings
public TrainingSettings(double learningRate, double momentum, int hiddenNeurons, int maxIterations, double maxError, boolean batchMode)Create instance of training settings with given parameters- Parameters:
learningRate-momentum-hiddenNeurons-maxIterations-maxError-batchMode-
-
-
Method Detail
-
isBatchMode
public boolean isBatchMode()
Return batch mode state- Returns:
- batch mode
-
setBatchMode
public void setBatchMode(boolean batchMode)
Set batch mode for this training- Parameters:
batchMode-
-
getMaxIterations
public int getMaxIterations()
Return maximum number of iterations for this training- Returns:
- maximum iterations
-
setMaxIterations
public void setMaxIterations(int maxIterations)
Set maximum number of iterations for this training- Parameters:
maxIterations-
-
getMaxError
public double getMaxError()
Return maximum total error for this training- Returns:
- maximum error
-
setMaxError
public void setMaxError(double maxError)
Set maximum total error for this training- Parameters:
maxError-
-
getLearningRate
public double getLearningRate()
Return learning rate for this training- Returns:
- learning rate
-
setLearningRate
public void setLearningRate(double learningRate)
Set learning rate for this training- Parameters:
learningRate-
-
getMomentum
public double getMomentum()
Return momentum for this training- Returns:
- momentum
-
setMomentum
public void setMomentum(double momentum)
Set momentum for this training- Parameters:
momentum-
-
getHiddenNeurons
public int getHiddenNeurons()
Return number of neurons in hidden layer for this training- Returns:
-
setHiddenNeurons
public void setHiddenNeurons(int hiddenNeurons)
Set number of neurons in hidden layer for this training- Parameters:
hiddenNeurons-
-
getDecreaseFactor
public double getDecreaseFactor()
Return decrease factor for resilient propagation- Returns:
- decrease factor
-
setDecreaseFactor
public void setDecreaseFactor(double decreaseFactor)
Set decrease factor for resilient propagation- Parameters:
decreaseFactor-
-
getIncreaseFactor
public double getIncreaseFactor()
Return increase factor for resilient propagation- Returns:
- increase factor
-
setIncreaseFactor
public void setIncreaseFactor(double increaseFactor)
Set increase factor for resilient propagation- Parameters:
increaseFactor-
-
getInitialDelta
public double getInitialDelta()
Return initial delta for resilient propagation- Returns:
- initial delta
-
setInitialDelta
public void setInitialDelta(double initialDelta)
Set initial delta for resilient propagation- Parameters:
initialDelta-
-
getMaxDelta
public double getMaxDelta()
Return maximum delta for resilient propagation- Returns:
- maximum delta
-
setMaxDelta
public void setMaxDelta(double maxDelta)
Set maximum delta for resilient propagation- Parameters:
maxDelta-
-
getMinDelta
public double getMinDelta()
Return minimum delta for resilient propagation- Returns:
- minimum delta
-
setMinDelta
public void setMinDelta(double minDelta)
Set minimum delta for resilient propagation- Parameters:
minDelta-
-
-
DMelt 3.0 © DataMelt by jWork.ORG