Returns the number of training patterns in the train data

# fann_length_train_data

(PECL fann >= 1.0.0)

fann_length_train_data — Returns the number of training patterns in the train data

### Description

fann_length_train_data(resource `$data`): int

Returns the number of training patterns in the train data resource.

### Parameters

`data`

  Neural network training data resource.

### Return Values

Number of elements in the train data resource, or `false` on error.

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open