« fann_set_training_algorithm
fann_set_weight_array »

fann_set_weight

(PECL fann >= 1.0.0)

fann_set_weight — Set a connection in the network

説明

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

Set a connections in the network.

パラメータ

ann

ニューラルネットワークリソース。

from_neuron

The neuron where the connection starts

to_neuron

The neuron where the connection ends

weight

Connection weight

戻り値

成功した場合に true、それ以外の場合に false を返します。

関連キーワード:
weight   fann   neuron   connection   network   training   algorithm   Fann   resource   float   connections   ニューラル   ネットワーク   リソース   starts   ends   Connection   成功
関連する関数・ページ:
class.fannconnection   function.fann-get-connection-array   function.fann-set-weight-array   fannconnection.setweight   fannconnection.construct   function.fann-get-cascade-weight-multiplier