FANNConnection::__construct
PHP function
Edit on GitHub ✎
(PECL fann >= 1.0.0)
The connection constructor
Description
FANNConnection::__construct(int $from_neuron, int $to_neuron, float $weight)
Create new connection and initialize its params. After creating the connection, only weight can be changed.
Parameters
from_neuronThe position number of starting neuron.
to_neuronThe position number of terminating neuron.
weightThe connection weight value.