MATLAB File Help: cv.RTrees/train Index
cv.RTrees/train

Trains the Random Trees model

status = model.train(samples, responses)
status = model.train(csvFilename, [])
[...] = model.train(..., 'OptionName', optionValue, ...)

Input

Output

Options

Options for Data (first variant with samples and reponses)

Options for Data (second variant for loading CSV file)

The method trains the cv.RTrees model.

The method is very similar to the method cv.DTrees.train and follows the generic method train conventions. The estimate of the training error (OOB-error) is stored inside the class (see cv.RTrees.getVarImportance).

The function is parallelized with the TBB library.

See also
Method Details
Access public
Sealed false
Static false