nodeVariableRange
Retrieve variable range of decision tree node
Syntax
Description
returns the range of predictor variables varRange = nodeVariableRange(tree,nodeID)varRange at the
tree node specified by nodeID. If a predictor
variable is numeric, the corresponding field of varRange is a 1-by-2
numeric vector containing the lower and upper bounds. If a predictor variable is
categorical, the corresponding field of varRange is a categorical array
containing the categories subgroup.
varRange = nodeVariableRange(
also specifies whether to omit the unused predictor variables from the returned
tree,nodeID,OmitUnusedVariables=omitUnusedVars)varRange.
Examples
Input Arguments
Extended Capabilities
Version History
Introduced in R2020a
See Also
ClassificationTree | CompactClassificationTree | RegressionTree | CompactRegressionTree | fitctree | fitrtree | view | view
