org.joone.engine
Class RpropParameters
- java.lang.Object
-
- org.joone.engine.RpropParameters
-
public class RpropParameters extends java.lang.ObjectThis object holds the global parameters for the RPROP learning algorithm (RpropLearner).
-
-
Constructor Summary
Constructors Constructor and Description RpropParameters()Creates a new instance of RpropParameters
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description intgetBatchSize()Gets the batchsize.doublegetEtaDec()Gets the decremental learning factor/rate.doublegetEtaInc()Gets the incremental learning factor/rate.doublegetInitialDelta(int i, int j)Gets the initial delta value.doublegetMaxDelta()Gets the maximum allowed delta value.doublegetMinDelta()Gets the minimum allowed delta value.voidsetBatchSize(int aBatchsize)Sets the batchsize.voidsetEtaDec(double anEtaDec)Sets the decremental learning factor/rate.voidsetEtaInc(double anEtaInc)Sets the incremental learning factor/rate.voidsetInitialDelta(double anInitialDelta)Sets the initial delta for all delta's.voidsetMaxDelta(double aMaxDelta)Sets the maximum allowed delta value.voidsetMinDelta(double aMinDelta)Sets the minimum allowed delta value.
-
-
-
Constructor Detail
-
RpropParameters
public RpropParameters()
Creates a new instance of RpropParameters
-
-
Method Detail
-
getInitialDelta
public double getInitialDelta(int i, int j)Gets the initial delta value.- Parameters:
i- the index (i, j) of the weight/bias for which it should get the initial value. The RPROP learning algorithm gives every bias/weight the same initial value, but by passing the index of the weight/bias to this method, a user is able to give different initial values to different weights/biases based on their index by extending this class.j-
-
setInitialDelta
public void setInitialDelta(double anInitialDelta)
Sets the initial delta for all delta's.- Parameters:
anInitialDelta- the initial delta value.
-
getMaxDelta
public double getMaxDelta()
Gets the maximum allowed delta value.- Returns:
- the maximum allowed delta value.
-
setMaxDelta
public void setMaxDelta(double aMaxDelta)
Sets the maximum allowed delta value.- Parameters:
aMaxDelta- the maximum allowed delta value.
-
getMinDelta
public double getMinDelta()
Gets the minimum allowed delta value.- Returns:
- the minimum allowed delta value.
-
setMinDelta
public void setMinDelta(double aMinDelta)
Sets the minimum allowed delta value.- Parameters:
aMinDelta- the minimum allowed delta value.
-
getEtaInc
public double getEtaInc()
Gets the incremental learning factor/rate.- Returns:
- the incremental learning factor/rate.
-
setEtaInc
public void setEtaInc(double anEtaInc)
Sets the incremental learning factor/rate.- Parameters:
anEtaInc- the incremental learning factor/rate.
-
getEtaDec
public double getEtaDec()
Gets the decremental learning factor/rate.- Returns:
- the decremental learning factor/rate.
-
setEtaDec
public void setEtaDec(double anEtaDec)
Sets the decremental learning factor/rate.- Parameters:
anEtaDec- the decremental learning factor/rate.
-
getBatchSize
public int getBatchSize()
Gets the batchsize.- Returns:
- the batch size.
-
setBatchSize
public void setBatchSize(int aBatchsize)
Sets the batchsize. param aBatchsize the new batchsize.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG