array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'ja', ), 'this' => array ( 0 => 'function.fann-test-data.php', 1 => 'fann_test_data', 2 => 'Test a set of training data and calculates the MSE for the training data', ), 'up' => array ( 0 => 'ref.fann.php', 1 => 'Fann 関数', ), 'prev' => array ( 0 => 'function.fann-test.php', 1 => 'fann_test', ), 'next' => array ( 0 => 'function.fann-train.php', 1 => 'fann_train', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/fann/functions/fann-test-data.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

fann_test_data

(PECL fann >= 1.0.0)

fann_test_dataTest a set of training data and calculates the MSE for the training data

説明

function fann_test_data(resource $ann, resource $data): float

Test a set of training data and calculates the MSE for the training data.

This function updates the MSE and the bit fail values.

パラメータ

ann
ニューラルネットワークリソース。
data
ニューラルネットワークトレーニングリソース。

戻り値

The updated MSE, or false on error.

参考