array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'ja', ), 'this' => array ( 0 => 'function.fann-init-weights.php', 1 => 'fann_init_weights', ), 'up' => array ( 0 => 'ref.fann.php', 1 => 'Fann 関数', ), 'prev' => array ( 0 => 'function.fann-get-training-algorithm.php', 1 => 'fann_get_training_algorithm', ), 'next' => array ( 0 => 'function.fann-length-train-data.php', 1 => 'fann_length_train_data', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/fann/functions/fann-init-weights.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL fann >= 1.0.0)
fann_init_weights — Initialize the weights using Widrow + Nguyen’s algorithm
Initialize the weights using Widrow + Nguyen’s algorithm.
This function behaves similarly to fann_randomize_weights(). It will use the algorithm developed by Derrick Nguyen and Bernard Widrow to set the weights in such a way as to speed up training. This technique is not always successful, and in some cases can be less efficient than a purely random initialization.
The algorithm requires access to the range of the input data (for example largest and smallest input), and therefore accepts a second argument, data, which is the training data that will be used to train the network.
ann
ニューラルネットワークリソース。
train_data
ニューラルネットワークトレーニングリソース。