GoLang fann_set_weight

request it (304)
GoLang replacement for PHP's fann_set_weight [edit | history]



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

PHP fann_set_weight

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

fann_set_weight

(PECL fann >= 1.0.0)

fann_set_weightSet a connection in the network

Description

bool fann_set_weight ( resource $ann , int $from_neuron , int $to_neuron , float $weight )

Set a connections in the network.

Parameters

ann

Neural network resource.

from_neuron

The neuron where the connection starts

to_neuron

The neuron where the connection ends

weight

Connection weight

Return Values

Returns TRUE on success, or FALSE otherwise.