Returns the error function used during training

# fann_get_train_error_function

(PECL fann >= 1.0.0)

fann_get_train_error_function — Returns the error function used during training

### 説明

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`.

### パラメータ

`ann`

  ニューラルネットワークリソース。

### 返り値

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

### 参考

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