void fann_set_train_error_function(struct fann * ann, unsigned int train_error_function);
Set the training error function (as described in Training Error Functions) of a network.
The default training error function is FANN_ERRORFUNC_TANH
.
This function appears in FANN >= 1.2.0.