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

Creates/trains a new Random Trees model

model = cv.RTrees()
model = cv.RTrees(...)

The first variant creates an empty model. Use cv.RTrees.train to train the model, or cv.RTrees.load to load a pre-trained model.

The second variant accepts the same parameters as the train method, in which case it forwards the call after construction.

See also