返回訓練中使用的停止函式。

fann_get_train_stop_function

(PECL fann >= 1.0.0)

fann_get_train_stop_function返回訓練中使用的停止函式。

說明

fann_get_train_stop_function(resource $ann): int

返回訓練中使用的停止函式。

停止函式的詳細描述,參見stop functions 常量。

預設的停止函式是 FANN_STOPFUNC_MSE.

參數

ann

神經網路 資源

返回值

成功,則返回 stop function 常量, 錯誤則返回 false .

參見

Leave a Reply

Your email address will not be published. Required fields are marked *