Package ann4j
Class InputLayerNeuronBehaviour
java.lang.Object
ann4j.InputLayerNeuronBehaviour
- All Implemented Interfaces:
NeuronBehaviour
-
Method Summary
Modifier and TypeMethodDescriptionstatic InputLayerNeuronBehaviour(singleton pattern) If the instance of the class is null, create a new instance of the class and return 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
(singleton pattern) If the instance of the class is null, create a new instance of the class and return it- Returns:
- The instance of the class.
-
setDelta
Description copied from interface:NeuronBehaviourThis function sets the delta value of the neuron- Specified by:
setDeltain interfaceNeuronBehaviour- Parameters:
iThe 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:
neuronThe neuron that is being propagated.
-