fann_print_error
fann_read_train_from_file
Fann Funções
PHP Manual

# fann_randomize_weights

(PECL fann >= 1.0.0)

fann_randomize_weights — Give each connection a random weight between min_weight and max_weight

### Descrição

bool fann_randomize_weights ( resource `$ann` , float `$min_weight` , float `$max_weight` )

Give each connection a random weight between `min_weight` and `max_weight`

From the beginning the weights are random between -0.1 and 0.1.

### Parâmetros

`ann`

  Neural network resource.

`min_weight`

  Minimum weight value

`max_weight`

  Maximum weight value

### Valor Retornado

Returns `TRUE` on success, or `FALSE` otherwise.

### Veja Também

- fann_init_weights() - Initialize the weights using Widrow + Nguyen’s algorithm

fann_print_error
fann_read_train_from_file
Fann Funções
PHP Manual