« fann_print_error
fann_read_train_from_file »

fann_randomize_weights

(PECL fann >= 1.0.0)

fann_randomize_weights — Give each connection a random weight between min_weight and max_weight

説明

function fann_randomize_weights(resource $ann, float $min_weight, float $max_weight): bool

Give each connection a random weight between min_weight and max_weight

From the beginning the weights are random between -0.1 and 0.1.

パラメータ

ann

ニューラルネットワークリソース。

min_weight

Minimum weight value

max_weight

Maximum weight value

戻り値

成功した場合に true、それ以外の場合に false を返します。

参考

関連キーワード:
weight   fann   weights   random   between   Give   connection   randomize   float   print   read   train   Fann   resource   beginning   ニューラル   ネットワーク   リソース   Minimum   Maximum   成功   参考   init   Initialize   using
関連する関数・ページ:
function.fann-set-weight   function.fann-init-weights   fannconnection.setweight   function.fann-get-cascade-weight-multiplier   function.fann-set-weight-array   function.fann-set-cascade-weight-multiplier