fann_create_train

Creates an empty training data struct

Description

resource fann_create_train(int $num_data, int $num_input, int $num_output)

Creates an empty training data struct.

Parameters

num_data

The number of training data

num_input

The number of inputs per training data

num_output

The number of ouputs per training data

Return Values

Returns a train data resource on success, or false on error.

Notes

Note:

This function is only available if the fann extension has been build against libfann >= 2.2.

See Also

  • fann_read_train_from_file
  • fann_train_on_data
  • fann_destroy_train
  • fann_save_train