FANN_RANDOMIZE_WEIGHTS(3) 1 FANN_RANDOMIZE_WEIGHTS(3)
fann_randomize_weights - Give each connection a random weight between min_weight and max_weight
SYNOPSIS
bool fann_randomize_weights (resource $ann, float $min_weight, float $max_weight)
DESCRIPTION
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.
PARAMETERS
o $ann
-Neural network resource.
o $min_weight
- Minimum weight value
o $max_weight
- Maximum weight value
RETURN VALUES
Returns TRUE on success, or FALSE otherwise.
SEE ALSO
fann_init_weights(3).
PHP Documentation Group FANN_RANDOMIZE_WEIGHTS(3)