PhpRiot
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

fann_set_weight_array

(PECL fann >= 1.0.0)

fann_set_weight_arraySet connections in the network

Description

bool fann_set_weight_array ( resource $ann , array $connections )

Set connections in the network.

Only the weights can be changed, connections and weights are ignored if they do not already exist in the network.

Parameters

ann

Neural network resource.

connections

An array of FANNConnection objects

Return Values

Returns TRUE on success, or FALSE otherwise.

PHP Manual