def train_on_file(self, filename, max_epochs, epochs_between_reports, desired_error): """ Does the same as train_on_data, but reads the data directly from a file. """ libfann.fann_train_on_file(self.__ann, filename, max_epochs, epochs_between_reports, desired_error)
def train_on_file(self, filename, max_iterations, iterations_between_reports, desired_error): libfann.fann_train_on_file(self.__ann, filename, max_iterations, iterations_between_reports, desired_error)