resubPredict
Class: RegressionTree
Predict resubstitution response of tree
Syntax
Yfit = resubPredict(tree)
[Yfit,node]
= resubPredict(tree)
[Yfit,node]
= resubPredict(tree,Name,Value)
Description
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.
Input Arguments
Output Arguments
|
The response If the If |
|
The If the If |