# fann_get_train_error_function

(PECL fann >= 1.0.0)

fann_get_train_error_function — Returns the error function used during training

### Beschreibung

fann_get_train_error_function(resource `$ann`): int

Returns the error function used during training.

The error functions are described further in error functions constants.

The default error function is `FANN_ERRORFUNC_TANH`.

### Parameter-Liste

`ann`

  Ressource eines neuralen Netzwerks.

### Rückgabewerte

The error function constant, or `false` on error.

### Siehe auch

- fann_set_train_error_function() - Sets the error function used during training

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open