Learn R Programming

lares (version 4.4)

h2o_predict_binary: H2O Predict using Binary file

Description

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

sample

Integer. How many rows should the function predict?