Package ann4j
Class HiddenLayerNeuronBehaviour
java.lang.Object
ann4j.HiddenLayerNeuronBehaviour
- All Implemented Interfaces:
NeuronBehaviour
-
Method Summary
Modifier and TypeMethodDescriptionstatic HiddenLayerNeuronBehaviourThe function returns an instance of the class if one exists, otherwise it creates a new instance and returns itvoidrelevancePropagate(Neuron neuron) This function propagates the relevance from the output layer to the input layerdoubleThis function sets the delta value of the neuron
-
Method Details
-
getInstance
The function returns an instance of the class if one exists, otherwise it creates a new instance and returns it- Returns:
- The instance of the HiddenLayerNeuronBehaviour class.
-
setDelta
Description copied from interface:NeuronBehaviourThis function sets the delta value of the neuron- Specified by:
setDeltain interfaceNeuronBehaviour- Parameters:
i- The neuron that we are calculating the delta for.- Returns:
- The delta value of the neuron.
-
relevancePropagate
Description copied from interface:NeuronBehaviourThis function propagates the relevance from the output layer to the input layer- Specified by:
relevancePropagatein interfaceNeuronBehaviour- Parameters:
neuron- The neuron that is being propagated.
-