fann_set_weight

Set a connection in the network

Beschreibung

bool fann_set_weight ( resource $ann , int $from_neuron , int $to_neuron , float $weight )

Set a connections in the network.

Parameter-Liste

ann

Resource eines neuralen Netzwerks.

from_neuron

The neuron where the connection starts

to_neuron

The neuron where the connection ends

weight

Connection weight

Rückgabewerte

Gibt TRUE bei Erfolg, sonst FALSE zurück.