Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.encog.neural.error
Class LinearErrorFunction

    java.lang.Object
      org.encog.neural.error.LinearErrorFunction

All Implemented Interfaces:
  ErrorFunction

    public class LinearErrorFunction

extends Object
implements ErrorFunction

The standard linear error function, simply returns the difference between the actual and ideal.

Constructor Summary
`LinearErrorFunction()`

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`

Constructor Detail

### LinearErrorFunction

    public LinearErrorFunction()

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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2014. All Rights Reserved.