phpday 2027 - Call for Papers

fann_set_weight

(PECL fann >= 1.0.0)

fann_set_weight — Set a connection in the network

Description

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

Set a connections in the network.

Parameters

ann

Neural network resource.

from_neuron

The neuron where the connection starts

to_neuron

The neuron where the connection ends

weight

Connection weight

Return Values

Returns true on success, or false otherwise.

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top