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

Class InputOutputNeuron

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


    public class InputOutputNeuron
    extends Neuron
    Provides behaviour specific for neurons which act as input and the output neurons within the same layer. For example in Hopfield network and BAM.
    See Also:
    Serialized Form
    • Constructor Detail

      • InputOutputNeuron

        public InputOutputNeuron()
        Creates an instance of neuron for Hopfield network
      • InputOutputNeuron

        public InputOutputNeuron(InputFunction inFunc,
                                 TransferFunction transFunc)
        Creates an instance of neuron for Hopfield network with specified input and transfer functions
        Parameters:
        inFunc - neuron input function
        transFunc - neuron transfer function
    • Method Detail

      • setInput

        public void setInput(double input)
        Sets total net input for this cell
        Overrides:
        setInput in class Neuron
        Parameters:
        input - input value
      • getBias

        public double getBias()
        Returns bias value for this neuron
        Returns:
        bias value for this neuron
      • setBias

        public void setBias(double bias)
        Sets bias value for this neuron
        Parameters:
        bias - bias value for this neuron
      • calculate

        public void calculate()
        Calculates neuron output
        Overrides:
        calculate in class Neuron

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.