fann_set_train_stop_function
(PECL fann >= 1.0.0)
fann_set_train_stop_function — 设置训练期间使用的停止函数。
说明
   fann_set_train_stop_function
    ( resource 
  $ann
   , int $stop_function
   ) : bool设置训练期间使用的停止函数。
停止函数更多详情,参见 stop functions 常量。
参数
- 
ann
- 
     Neural network resource. 
- 
stop_function
- 
     stop function 常量。 
返回值
Returns TRUE on success, or FALSE otherwise.