PHP 8.4.2 Released!

fann_randomize_weights

(PECL fann >= 1.0.0)

fann_randomize_weightsGive each connection a random weight between min_weight and max_weight

Açıklama

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.

Bağımsız Değişkenler

ann

Sinir ağı özkaynağı.

min_weight

Minimum weight value

max_weight

Maximum weight value

Dönen Değerler

Başarı durumunda true yoksa falsedöner.

Ayrıca Bakınız

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top