GoLang fann_randomize_weights

request it (370)
GoLang replacement for PHP's fann_randomize_weights [edit | history]



Do you know a GoLang replacement for PHP's fann_randomize_weights? Write it!

PHP fann_randomize_weights

PHP original manual for fann_randomize_weights [ show | php.net ]

fann_randomize_weights

(PECL fann >= 1.0.0)

fann_randomize_weightsGive each connection a random weight between min_weight and max_weight

Description

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.

Parameters

ann

Neural network resource.

min_weight

Minimum weight value

max_weight

Maximum weight value

Return Values

Returns TRUE on success, or FALSE otherwise.

See Also