fann_randomize_weights

Give each connection a random weight between min_weight and max_weight

説明

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

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 を返します。

参考

  • fann_init_weights