FANN_TRAIN(3) 1 FANN_TRAIN(3)
fann_train - Train one iteration with a set of inputs, and a set of desired outputs
SYNOPSIS
bool fann_train (resource $ann, array $input, array $desired_output)
DESCRIPTION
Train one iteration with a set of inputs, and a set of desired outputs. This training is always incremental training, since only one pat-
tern is presented.
PARAMETERS
o $ann
-Neural network resource.
o $input
- An array of inputs. This array must be exactly fann_get_num_input(3) long.
o $desired_output
- An array of desired outputs. This array must be exactly fann_get_num_output(3) long.
RETURN VALUES
Returns TRUE on success, or FALSE otherwise.
SEE ALSO
fann_train_on_data(3), fann_train_epoch(3), fann_get_num_input(3), fann_get_num_output(3).
PHP Documentation Group FANN_TRAIN(3)