This internal function is used to make predictions on the test dataset against all induced trees.
make_predictions(list_trees, test, useIdentity, classify, objectid)
List of all induced trees.
The test dataset.
Whether the training data has been transformed with the householder transform.
Default is TRUE. Set TRUE for a classification problem and FALSE for a regression problem.
A list of node numbers that will be 'pruned' ie. when making predictions if the tree node matches a node in objectid the tree node will be used to make the prediction rather than traversing any underlying nodes.
Accuracy, margin and predictions.