Complete fann_create_train_from_callback