org.encog.neural.error

## Class ATanErrorFunction

- java.lang.Object
- - org.encog.neural.error.ATanErrorFunction

- All Implemented Interfaces:
    ErrorFunction

      public class ATanErrorFunction
      extends 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.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ATanErrorFunction()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `calculateError(double[] ideal, double[] actual, double[] error)` Calculate the error.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ATanErrorFunction

          public ATanErrorFunction()

  - ### Method Detail

    - #### calculateError

          public void calculateError(double[] ideal,
                            double[] actual,
                            double[] error)

      Calculate the error.
      Specified by:
        `calculateError` in interface `ErrorFunction`
      Parameters:
        `ideal` - The ideal values.

Copyright © 2014. All Rights Reserved.