Function to return predictions from an h2o model to a local r object
1 | get_h2o_predictions(mdl, newdata = NULL, xval = FALSE)
|
mdl |
An h2o model object to predict from |
newdata |
A new data set to make predictions on. Defaults to NULL |
xval |
Do you want to extract the out of fold predictions? Defaults to FALSE. Note: keep_cross_validation_predictions must equal TRUE in the model object |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.