array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), '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 Funktionen', ), '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

Beschreibung

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.

Parameter-Liste

ann

Ressource eines neuralen Netzwerks.

data

Ressource für Trainingsdaten eines neuralen Netzwerks.

Rückgabewerte

The updated MSE, or false on error.

Siehe auch