(PECL fann >= 1.0.0)
fann_create_train — Creates an empty training data struct
$num_data
, int $num_input
, int $num_output
): resourceCreates an empty training data struct.
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
Returns a train data resource on success, or false
on error.
Note:
This function is only available if the fann extension has been build against libfann >= 2.2.