Package ann4j
Class OutputLayerNeuronBehaviour
java.lang.Object
ann4j.OutputLayerNeuronBehaviour
- All Implemented Interfaces:
NeuronBehaviour
-
Method Summary
Modifier and TypeMethodDescriptionstatic OutputLayerNeuronBehaviour
If myInstance is null, create a new instance of OutputLayerNeuronBehaviour and assign it to myInstance.void
relevancePropagate
(Neuron neuron) This function propagates the relevance from the output layer to the input layerdouble
This function sets the delta value of the neuron
-
Method Details
-
getInstance
If myInstance is null, create a new instance of OutputLayerNeuronBehaviour and assign it to myInstance. Then return myInstance.- Returns:
- The instance of the class.
-
setDelta
Description copied from interface:NeuronBehaviour
This function sets the delta value of the neuron- Specified by:
setDelta
in interfaceNeuronBehaviour
- Parameters:
i
- The neuron that we are calculating the delta for.- Returns:
- The delta value of the neuron.
-
relevancePropagate
Description copied from interface:NeuronBehaviour
This function propagates the relevance from the output layer to the input layer- Specified by:
relevancePropagate
in interfaceNeuronBehaviour
- Parameters:
neuron
- The neuron that is being propagated.
-