(PECL fann >= 1.0.0)
fann_set_weight — Set a connection in the network
$ann
, int $from_neuron
, int $to_neuron
, float $weight
) : boolSet a connections in the network.
ann
Zasób (resource) sieci neuronowej.
from_neuron
The neuron where the connection starts
to_neuron
The neuron where the connection ends
weight
Connection weight
Zwraca TRUE
przy powodzeniu, FALSE
w przeciwnym wypadku.