struct fann_train_data * fann_read_train_from_file(char * filename);
fann_read_train_from_file
will load training data from a file.
The file should be formatted in the following way:
num_train_data num_input num_output inputdata seperated by space outputdata seperated by space . . . inputdata seperated by space outputdata seperated by space
An example of a properly formatted file is provided in the Introduction.
This function appears in FANN >= 1.0.0.