Description Usage Arguments Value
View source: R/hhcartr_predictors.R
This internal function is used to run a test dataset row through a tree to make a prediction.
1 | row_predict(xnode, test_row, useIdentity, objectid)
|
xnode |
Root node of the current tree we are making predictions against. |
test_row |
Current row from the test dataset. |
useIdentity |
Whether the training data has been transformed with the householder transform. |
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. |
A prediction for the test dataset row.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.