public class UnweightedBackPropagationMethod extends java.lang.Object implements BackPropagationMethod
| Modifier and Type | Field and Description |
|---|---|
protected double |
learningRate
The multiplier for error gradient descent.
|
| Constructor and Description |
|---|
UnweightedBackPropagationMethod(double p_learningRate)
Creates a new backpropagation object with the given learning rate.
|
| Modifier and Type | Method and Description |
|---|---|
void |
backPropagateHidden(NeuronLayer downstream,
ReceptiveNeuron[] neurons)
Back propagates a hidden layer relative to the layer immediately following it.
|
double |
backPropagateOutputs(double[] desirable,
ReceptiveNeuron[] neurons)
This function back-propogates output nodes.
|
double |
getLearningRate()
Returns the current learning rate.
|
void |
setLearningRate(double p_learningRate)
Sets the learning rate of this backpropagation method.
|
public UnweightedBackPropagationMethod(double p_learningRate)
p_learningRate - The learning rate, normally arouund 0.02 or belowpublic void setLearningRate(double p_learningRate)
p_learningRate - The learning ratepublic double getLearningRate()
public void backPropagateHidden(NeuronLayer downstream, ReceptiveNeuron[] neurons)
backPropagateHidden in interface BackPropagationMethoddownstream - The layer downstream from thisneurons - The neurons in the layer to backprop.public double backPropagateOutputs(double[] desirable,
ReceptiveNeuron[] neurons)
backPropagateOutputs in interface BackPropagationMethoddesirable - The desirable set of inputs to adapt toneurons - The neurons to backpropagateIndexOutOfBoundsException - in the event that the number of desirable outputs does not match that of the net.