public class HebbianCPCARule extends SynapseUpdateRule
Modifier and Type | Field and Description |
---|---|
static double |
DEFAULT_LAMBDA
Default Sigmoidal function.
|
static double |
DEFAULT_LEARNING_RATE
Default Learning rate.
|
static double |
DEFAULT_M
Default Maximum weight value (see equation 4.19 in O'Reilly and
Munakata).
|
static double |
DEFAULT_THETA
Default Weight offset.
|
Constructor and Description |
---|
HebbianCPCARule() |
Modifier and Type | Method and Description |
---|---|
SynapseUpdateRule |
deepCopy()
Returns a deep copy of the update rule.
|
java.lang.String |
getDescription()
Returns a brief description of this update rule.
|
double |
getLambda() |
double |
getLearningRate() |
double |
getM() |
double |
getTheta() |
void |
init(Synapse synapse)
Initialize the update rule and make necessary changes to the parent
synapse.
|
void |
setLambda(double lambda) |
void |
setLearningRate(double momentum) |
void |
setM(double m) |
void |
setTheta(double theta) |
void |
update(Synapse synapse)
Apply the update rule.
|
clear, getToolTipText
public static final double DEFAULT_LEARNING_RATE
public static final double DEFAULT_M
public static final double DEFAULT_THETA
public static final double DEFAULT_LAMBDA
public void init(Synapse synapse)
SynapseUpdateRule
init
in class SynapseUpdateRule
synapse
- parent synapsepublic java.lang.String getDescription()
SynapseUpdateRule
getDescription
in class SynapseUpdateRule
public SynapseUpdateRule deepCopy()
SynapseUpdateRule
deepCopy
in class SynapseUpdateRule
public void update(Synapse synapse)
SynapseUpdateRule
update
in class SynapseUpdateRule
synapse
- parent synapsepublic double getLearningRate()
public double getM()
public double getTheta()
public double getLambda()
public void setLearningRate(double momentum)
momentum
- The momentum to set.public void setM(double m)
m
- is maximum weight The maximum weight to setpublic void setTheta(double theta)
theta
- is weight offset The weight offset to set.public void setLambda(double lambda)
lambda
- is The sigmoidal to set.