Sets the stop function used during training

# fann_set_train_stop_function

(PECL fann >= 1.0.0)

fann_set_train_stop_function — Sets the stop function used during training

### 説明

fann_set_train_stop_function ( resource `$ann` , int `$stop_function` ) : bool

Sets the stop function used during training.

The stop functions are described further in stop functions constants.

### パラメータ

`ann`

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

`stop_function`

  The stop function constant.

### 返り値

成功した場合に `TRUE`、それ以外の場合に `FALSE` を返します。

### 参考

- fann_get_train_stop_function() - Returns the stop function used during training