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

Creates/trains a new decision tree model

model = cv.DTrees()
model = cv.DTrees(...)

The first variant creates an empty decision tree with the default parameters. It should be then trained using the train method (see cv.DTrees.train). Alternatively, you can load the model from file using cv.DTrees.load(filename).

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

See also