Returns the number of training patterns in the train data


(PECL fann >= 1.0.0)

fann_length_train_dataReturns the number of training patterns in the train data

Описание

int fann_length_train_data ( resource $data )

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

Список параметров

data

Ресурс (resource) обучающих данных нейронной сети.

Возвращаемые значения

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