Description Usage Arguments Examples
Predict the target attribute for the new data of a test set.
1 | doPrediction(tree.obj, predict.data, pred.class)
|
tree.obj |
a tree object of class InitTreeR |
predict.data |
a data.frame object with test data which should get predicted. |
pred.class |
an boolean for showing the predicted class in the output (optional: default = FALSE) |
1 | doPrediction(tree.obj = tree, dataset = dat)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.