array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'ja', ), 'this' => array ( 0 => 'function.fann-train.php', 1 => 'fann_train', ), 'up' => array ( 0 => 'ref.fann.php', 1 => 'Fann 関数', ), 'prev' => array ( 0 => 'function.fann-train-on-file.php', 1 => 'fann_train_on_file', ), 'next' => array ( 0 => 'class.fannconnection.php', 1 => 'FANNConnection', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/fann/functions/fann-train.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL fann >= 1.0.0)
fann_train — Train one iteration with a set of inputs, and a set of desired outputs
Train one iteration with a set of inputs, and a set of desired outputs. This training is always incremental training, since only one pattern is presented.
ann
ニューラルネットワークリソース。
input
An array of inputs. This array must be exactly fann_get_num_input() long.
desired_output
An array of desired outputs. This array must be exactly fann_get_num_output() long.