array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'uk', ), 'this' => array ( 0 => 'function.fann-set-train-error-function.php', 1 => 'fann_set_train_error_function', 2 => 'Sets the error function used during training', ), 'up' => array ( 0 => 'ref.fann.php', 1 => 'Функції Fann', ), 'prev' => array ( 0 => 'function.fann-set-scaling-params.php', 1 => 'fann_set_scaling_params', ), 'next' => array ( 0 => 'function.fann-set-train-stop-function.php', 1 => 'fann_set_train_stop_function', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/fann/functions/fann-set-train-error-function.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

fann_set_train_error_function

(PECL fann >= 1.0.0)

fann_set_train_error_functionSets the error function used during training

Опис

fann_set_train_error_function(resource $ann, int $error_function): bool

Sets the error function used during training.

The error functions are described further in error functions constants.

Параметри

ann

Ресурс (resource) нейронної мережі.

error_function

The error function constant

Значення, що повертаються

Повертає true у разі успіху або false у разі невдачі.

Прогляньте також