Package ann4j

Class HiddenLayerNeuronBehaviour

java.lang.Object
ann4j.HiddenLayerNeuronBehaviour
All Implemented Interfaces:
NeuronBehaviour

public class HiddenLayerNeuronBehaviour extends Object implements NeuronBehaviour
  • Method Details

    • getInstance

      public static HiddenLayerNeuronBehaviour 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

      public double setDelta(Neuron i)
      Description copied from interface: NeuronBehaviour
      This function sets the delta value of the neuron
      Specified by:
      setDelta in interface NeuronBehaviour
      Parameters:
      i - The neuron that we are calculating the delta for.
      Returns:
      The delta value of the neuron.
    • relevancePropagate

      public void relevancePropagate(Neuron neuron)
      Description copied from interface: NeuronBehaviour
      This function propagates the relevance from the output layer to the input layer
      Specified by:
      relevancePropagate in interface NeuronBehaviour
      Parameters:
      neuron - The neuron that is being propagated.