Class: RegressionTree
Predict resubstitution response of tree
Yfit = resubPredict(tree)
[Yfit,node]
= resubPredict(tree)
[Yfit,node]
= resubPredict(tree,Name,Value)
returns
the responses Yfit
= resubPredict(tree
)tree
predicts for the data tree.X
. Yfit
is
the predictions of tree
on the data that fitrtree
used to create tree
.
[
returns the node
numbers of Yfit
,node
]
= resubPredict(tree
)tree
for the resubstituted data.
[
predicts
with additional options specified by one or more Yfit
,node
]
= resubPredict(tree
,Name,Value
)Name,Value
pair
arguments.
|
The response If the If |
|
The If the If |