array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), 'this' => array ( 0 => 'function.fann-set-weight.php', 1 => 'fann_set_weight', 2 => 'Set a connection in the network', ), 'up' => array ( 0 => 'ref.fann.php', 1 => 'Fann Funktionen', ), 'prev' => array ( 0 => 'function.fann-set-training-algorithm.php', 1 => 'fann_set_training_algorithm', ), 'next' => array ( 0 => 'function.fann-set-weight-array.php', 1 => 'fann_set_weight_array', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/fann/functions/fann-set-weight.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

fann_set_weight

(PECL fann >= 1.0.0)

fann_set_weightSet a connection in the network

Beschreibung

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

Set a connections in the network.

Parameter-Liste

ann

Ressource 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.