Documentation of 'org.encog.neural.freeform.basic.BasicFreeformNeuron' Java class
BasicFreeformNeuron
org.encog.neural.freeform.basic

Class BasicFreeformNeuron

    • Constructor Detail

      • BasicFreeformNeuron

        public BasicFreeformNeuron(InputSummation theInputSummation)
    • Method Detail

      • addInput

        public void addInput(FreeformConnection connection)
        Add an input connection to this neuron.
        Specified by:
        addInput in interface FreeformNeuron
        Parameters:
        connection - The input connection.
      • addOutput

        public void addOutput(FreeformConnection connection)
        Add an output connection to this neuron.
        Specified by:
        addOutput in interface FreeformNeuron
        Parameters:
        connection - The output connection.
      • addTempTraining

        public void addTempTraining(int i,
                                    double value)
        Add to the specified temp value.
        Specified by:
        addTempTraining in interface TempTrainingData
        Parameters:
        i - The index.
        value - The value to add.
      • allocateTempTraining

        public void allocateTempTraining(int l)
        Allocate the specified length of temp training.
        Specified by:
        allocateTempTraining in interface TempTrainingData
        Parameters:
        l - The length.
      • getActivation

        public double getActivation()
        Specified by:
        getActivation in interface FreeformNeuron
        Returns:
        The activation for this neuron. This is the final output after the activation function has been applied.
      • getSum

        public double getSum()
        Specified by:
        getSum in interface FreeformNeuron
        Returns:
        The output sum for this neuron. This is the output prior to the activation function being applied.
      • getTempTraining

        public double getTempTraining(int index)
        Get the specified temp training.
        Specified by:
        getTempTraining in interface TempTrainingData
        Parameters:
        index - The indfex.
        Returns:
        The temp training value.
      • isBias

        public boolean isBias()
        Specified by:
        isBias in interface FreeformNeuron
        Returns:
        True, if this is a bias neuron.
      • performCalculation

        public void performCalculation()
        Perform the internal calculation for this neuron.
        Specified by:
        performCalculation in interface FreeformNeuron
      • setActivation

        public void setActivation(double theActivation)
        Set the activation, or final output for this neuron.
        Specified by:
        setActivation in interface FreeformNeuron
        Parameters:
        theActivation - THe activation.
      • setBias

        public void setBias(boolean bias)
        Determine if this neuron is a bias neuron.
        Specified by:
        setBias in interface FreeformNeuron
        Parameters:
        bias - True, if this neuron is considered a bias neuron.
      • setInputSummation

        public void setInputSummation(InputSummation theInputSummation)
        Set the input summation method.
        Specified by:
        setInputSummation in interface FreeformNeuron
        Parameters:
        theInputSummation - The input summation method.
      • setTempTraining

        public void setTempTraining(int index,
                                    double value)
        Set a temp training value.
        Specified by:
        setTempTraining in interface TempTrainingData
        Parameters:
        index - The index.
        value - The value.
      • updateContext

        public void updateContext()
        Update the context value for this neuron.
        Specified by:
        updateContext in interface FreeformNeuron
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.