(PECL fann >= 1.0.0)
fann_set_weight — Set a connection in the network
$ann
$from_neuron
$to_neuron
$weight
Set a connections in the network.
ann
ニューラルネットワークリソース。
from_neuron
The neuron where the connection starts
to_neuron
The neuron where the connection ends
weight
Connection weight
成功した場合に true、それ以外の場合に false を返します。
true
false