Skip to contents

This function lets the user predict using the h2o binary file. Note that it works with the files generated when using the function export_results(). Recommendation: use the h2o_predict_MOJO() function when possible - it let's you change h2o's version without problem.

Usage

h2o_predict_binary(df, model_path, sample = NA)

Arguments

df

Dataframe. Data to insert into the model.

model_path

Character. Relative model path directory or zip file.

sample

Integer. How many rows should the function predict?

Value

vector with predicted results.