compact
Reduce size of regression tree model
Syntax
Description
returns a ctree
= compact(tree
)CompactRegressionTree
version of the trained
regression tree model tree
. You can predict regressions using
ctree
exactly as you can using tree
. However, because
ctree
does not contain training data, you cannot perform some actions,
such as cross-validation.
Examples
Input Arguments
Extended Capabilities
Version History
Introduced in R2011a