Skip to contents

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.