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.
Method Summary |
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 |
ATanErrorFunction
public ATanErrorFunction()
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.