h2o_predict_MOJO: H2O Predict using MOJO file

View source: R/model_predict.R

h2o_predict_MOJOR Documentation

H2O Predict using MOJO file

Description

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()

Usage

h2o_predict_MOJO(df, model_path, method = "mojo", batch = 300)

Arguments

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.

Value

data.frame with predicted results.

See Also

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()


laresbernardo/lares documentation built on April 25, 2024, 5:31 a.m.