fann_randomize_weights
Give each connection a random weight between min_weight and max_weight
Beschreibung
bool fann_randomize_weights
( resource $ann
, float $min_weight
, float $max_weight
)
From the beginning the weights are random between -0.1 and 0.1.
Parameter-Liste
-
ann
-
Resource eines neuralen Netzwerks.
-
min_weight
-
Minimum weight value
-
max_weight
-
Maximum weight value
Rückgabewerte
Gibt TRUE bei Erfolg, sonst FALSE zurück.