public void train_on_file(string filename, uint max_epochs, uint epochs_between_reports, float desired_error) { fanndoublePINVOKE.neural_net_train_on_file(swigCPtr, filename, max_epochs, epochs_between_reports, desired_error); if (fanndoublePINVOKE.SWIGPendingException.Pending) throw fanndoublePINVOKE.SWIGPendingException.Retrieve(); }