predict.cubt {cubt} | R Documentation |
Computes predictions from a cubt tree.
predict.cubt(objin, test, minsplit = 4, type = "class",critopt="anova")
objin |
An unsupervised classification tree resuting from cubt. |
test |
Test data set. |
minsplit |
minimum number of observations in order to go down further in the tree for prediction. A minimum of two observations is used. |
type |
type of object returned, a tree or a vector of clusters. |
critopt |
Criteria to use: "anova" or "entropy" |
Compute cluster predictions for each observation in a test data set.
Badih Ghattas