| cuda_ml_nvforest_predict_per_tree | R Documentation |
Return individual-tree predictions
cuda_ml_nvforest_predict_per_tree(object, new_data, chunk_size = NULL)
object |
An nvForest-backed model. |
new_data |
Numeric predictor data. |
chunk_size |
Native prediction chunk size, or |
For scalar-leaf models, a numeric matrix with one column per tree. For vector-leaf models, a numeric array indexed by observation, tree, and output.
The complete result is materialized in R: rows by trees for scalar-leaf
models and rows by trees by outputs for vector-leaf models. The
chunk_size argument controls native prediction work but does not bound
the memory required by the R result.
cuda_ml_nvforest_leaf_ids()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.