update : 2015.11.03
php.shukuma.com

검색:
 
 
Give each connection a random weight between min_weight and max_weight

fann_randomize_weights

(PECL fann >= 1.0.0)

fann_randomize_weightsGive 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

Neural network resource.

min_weight

Minimum weight value

max_weight

Maximum weight value

반환값

Returns TRUE on success, or FALSE otherwise.

참고