Description Usage Arguments Value
View source: R/hhcartr_predictors.R
This internal function is used to make predictions on the test dataset against all induced trees.
1 | make_predictions(list_trees, test, useIdentity, classify, objectid)
|
list_trees |
List of all induced trees. |
test |
The test dataset. |
useIdentity |
Whether the training data has been transformed with the householder transform. |
classify |
Default is TRUE. Set TRUE for a classification problem and FALSE for a regression problem. |
objectid |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.