doPrediction: doPrediction

Description Usage Arguments Examples

Description

Predict the target attribute for the new data of a test set.

Usage

1
doPrediction(tree.obj, predict.data, pred.class)

Arguments

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)

Examples

1
doPrediction(tree.obj = tree, dataset = dat)

IntTreeR/IntTreeR documentation built on May 7, 2019, 6:38 a.m.