public void cascadetrain_on_data(training_data data, uint max_neurons, uint neurons_between_reports, float desired_error) { fanndoublePINVOKE.neural_net_cascadetrain_on_data(swigCPtr, training_data.getCPtr(data), max_neurons, neurons_between_reports, desired_error); if (fanndoublePINVOKE.SWIGPendingException.Pending) throw fanndoublePINVOKE.SWIGPendingException.Retrieve(); }