# fann_set_train_error_function

(PECL fann >= 1.0.0)

fann_set_train_error_function — Sets the error function used during training

### Beschreibung

fann_set_train_error_function(resource `$ann`, int `$error_function`): bool

Sets the error function used during training.

The error functions are described further in error functions constants.

### Parameter-Liste

`ann`

  Ressource eines neuralen Netzwerks.

`error_function`

  The error function constant

### Rückgabewerte

Gibt `true` bei Erfolg, sonst `false` zurück.

### Siehe auch

- fann_get_train_error_function() - Returns the error function used during training

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