fann_set_weight
(PECL fann >= 1.0.0)
fann_set_weight — Set a connection in the network
Description
bool fann_set_weight
( resource
$ann
, int $from_neuron
, int $to_neuron
, float $weight
)Set a connections in the network.
Liste de paramètres
-
ann
-
Ressource de réseau de neurones.
-
from_neuron
-
The neuron where the connection starts
-
to_neuron
-
The neuron where the connection ends
-
weight
-
Connection weight
Valeurs de retour
Retourne TRUE
en cas de succès, FALSE
sinon.