(PECL fann >= 1.0.0)
fann_set_weight — Set a connection in the network
$ann,$from_neuron,$to_neuron,$weightSet a connections in the network.
annNeural network resource.
from_neuronThe neuron where the connection starts
to_neuronThe neuron where the connection ends
weightConnection weight
Returns true on success, or false otherwise.