Documentation of 'org.neuroph.nnet.comp.neuron.ThresholdNeuron' Java class
ThresholdNeuron
org.neuroph.nnet.comp.neuron

Class ThresholdNeuron

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable


    public class ThresholdNeuron
    extends Neuron
    Provides behaviour for neurons with threshold.
    See Also:
    Serialized Form
    • Constructor Detail

      • ThresholdNeuron

        public ThresholdNeuron(InputFunction inputFunction,
                               TransferFunction transferFunction)
        Creates a neuron with threshold behaviour, and with the specified input and transfer functions.
        Parameters:
        inputFunction - input function for this neuron
        transferFunction - transfer function for this neuron
    • Method Detail

      • calculate

        public void calculate()
        Calculates neuron's output
        Overrides:
        calculate in class Neuron
      • getThresh

        public double getThresh()
        Returns threshold value for this neuron
        Returns:
        threshold value for this neuron
      • setThresh

        public void setThresh(double thresh)
        Sets threshold value for this neuron
        Parameters:
        thresh - threshold value for this neuron

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.