Description Usage Arguments Value References Examples
After finding tree structure, predict class for the test set and calculate prediction error.
1 | PP.classify(test.data, true.class, Tree.result, Rule, ...)
|
test.data |
the test dataset |
true.class |
true class of test dataset if available |
Tree.result |
the result of PP.Tree |
Rule |
split rule 1:mean of two group means, 2:weighted mean, 3: mean of max(left group) and min(right group), 4: weighted mean of max(left group) and min(right group) |
predict.class predicted class
predict.error prediction error
Lee, YD, Cook, D., Park JW, and Lee, EK(2013) PPtree: Projection pursuit classification tree, Electronic Journal of Statistics, 7:1369-1386.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.