Documentation of 'org.encog.neural.error.ATanErrorFunction' Java class
ATanErrorFunction
org.encog.neural.error

Class ATanErrorFunction

  • All Implemented Interfaces:
    ErrorFunction


    public class ATanErrorFunction
    extends java.lang.Object
    implements ErrorFunction
    An ATan based error function. This is often used either with QuickProp or alone. This can improve the training time of a propagation trained neural network.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void calculateError(ActivationFunction af, double[] b, double[] a, double[] ideal, double[] actual, double[] error, double derivShift, double significance)
      Calculate the error.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ATanErrorFunction

        public ATanErrorFunction()
    • Method Detail

      • calculateError

        public void calculateError(ActivationFunction af,
                                   double[] b,
                                   double[] a,
                                   double[] ideal,
                                   double[] actual,
                                   double[] error,
                                   double derivShift,
                                   double significance)
        Calculate the error.
        Specified by:
        calculateError in interface ErrorFunction
        Parameters:
        af - The activation function used at the output layer.
        b - The number to calculate the derivative of, the number "before" the activation function was applied.
        a - The number "after" an activation function has been applied.
        ideal - The ideal values.
        actual - The actual values.
        error - The resulting error values.
        derivShift - The amount to shift af derivativeFunction by
        significance - Weighting to apply to ideal[i] - actual[i]

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.