unsigned int fann_get_train_error_function(struct fann * ann);
Get 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.