FANN_SET_WEIGHT(3) 1 FANN_SET_WEIGHT(3)
fann_set_weight - Set a connection in the network
SYNOPSIS
bool fann_set_weight (resource $ann, int $from_neuron, int $to_neuron, float $weight)
DESCRIPTION
Set a connections in the network.
PARAMETERS
o $ann
-Neural network resource.
o $from_neuron
- The neuron where the connection starts
o $to_neuron
- The neuron where the connection ends
o $weight
- Connection weight
RETURN VALUES
Returns TRUE on success, or FALSE otherwise.
PHP Documentation Group FANN_SET_WEIGHT(3)