(PECL fann >= 1.0.0)
fann_set_weight — Set a connection in the network
$ann
, int $from_neuron
, int $to_neuron
, float $weight
)Set a connections in the network.
annРесурс (resource) нейронной сети.
from_neuronThe neuron where the connection starts
to_neuronThe neuron where the connection ends
weightConnection weight
Возвращает TRUE в случае успешного выполнения, или FALSE в противном случае.