php8.5
Home/ Manual/ fann / functions/ fann_subset_train_data

fann_subset_train_data

PHP function Edit on GitHub ✎

(PECL fann >= 1.0.0)

Returns an copy of a subset of the train data

Description

fann_subset_train_data(resource $data, int $pos, int $length): resource

Returns an copy of a subset of the train data resource, starting at position pos and length elements forward.

The fann_subset_train_data(train_data, 0, fann_length_train_data(train_data)) do the same as fann_duplicate_train_data()

Parameters

data

Description

pos

Starting position.

length

The number of copied elements.

Return Values Train

See Also

Source: reference/fann/functions/fann-subset-train-data.xml · from the official PHP manual (php/doc-en)