Merge predictions from xval or regular predictions on a test dataset.
1 2 | ezr.h2o_merge_preds(model, dataset, xval = TRUE, as_dataframe = FALSE,
nameof_pred_column = "prediction", other_fields_to_retain = NULL)
|
model |
model. Should be binary or regresison model |
dataset |
dataframe either test dataset or xval dataset |
xval |
XVAL=TRUE is default. |
as_dataframe |
Convert h2o dataframe to dataframe |
nameof_pred_column |
Default is 'prediction' |
return_2cols |
Return just the target and the prediction value? Default is TRUE |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.