View source: R/model_predict.R
h2o_predict_MOJO | R Documentation |
This function lets the user predict using the h2o .zip file containing the MOJO files. Note that it works with the files generated when using the function export_results()
h2o_predict_MOJO(df, model_path, method = "mojo", batch = 300)
df |
Dataframe. Data to pass to the model. |
model_path |
Character. Relative path of directory where your zip model file is. If multiple zip files are found, first one found will be used. |
method |
Character. One of "mojo" or "json". |
batch |
Integer. Run n batches at a time for "json" method. |
data.frame with predicted results.
Other Machine Learning:
ROC()
,
conf_mat()
,
export_results()
,
gain_lift()
,
h2o_automl()
,
h2o_predict_API()
,
h2o_predict_binary()
,
h2o_predict_model()
,
h2o_selectmodel()
,
impute()
,
iter_seeds()
,
lasso_vars()
,
model_metrics()
,
model_preprocess()
,
msplit()
Other H2O:
h2o_predict_API()
,
h2o_predict_binary()
,
h2o_predict_model()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.