fann_test_data

Test a set of training data and calculates the MSE for the training data

&reftitle.description; `float` `fann_test_data` `resource` `ann` `resource` `data`

Test a set of training data and calculates the MSE for the training data.

This function updates the MSE and the bit fail values.

&reftitle.parameters;

`ann`

- &fann.ann.description;

`data`

- &fann.train.description;
&reftitle.returnvalues;

The updated MSE, or &false; on error.

&reftitle.seealso;

- `fann_train_on_data`
- `fann_train_epoch`
- `fann_get_bit_fail`
- `fann_get_MSE`
- `fann_set_training_algorithm`