返回訓練中使用的錯誤函式。

fann_get_train_error_function

(PECL fann >= 1.0.0)

fann_get_train_error_function返回訓練中使用的錯誤函式。

說明

fann_get_train_error_function(resource $ann): int

返回訓練中使用的錯誤函式。

有關於錯誤函式的詳細描述,參見 error functions 靜態變數。

預設的錯誤函式是 FANN_ERRORFUNC_TANH.

參數

ann

神經網路 資源

返回值

成功,則返回 error function 靜態變數, 錯誤則返回 false .

參見

Leave a Reply

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