h2o.mojo_predict_df

0th

Percentile

H2O Prediction from R without having H2O running

Provides the method h2o.mojo_predict_df with which you can predict a MOJO model from R.

Usage
h2o.mojo_predict_df(frame, mojo_zip_path, genmodel_jar_path = NULL,
  classpath = NULL, java_options = NULL, verbose = F)
Arguments
frame

data.frame to score.

mojo_zip_path

Path to MOJO zip downloaded from H2O.

genmodel_jar_path

Optional, path to genmodel jar file. If NULL (default) then the h2o-genmodel.jar in the same folder as the MOJO zip will be used.

classpath

Optional, specifies custom user defined classpath which will be used when scoring. If NULL (default) then the default classpath for this MOJO model will be used.

java_options

Optional, custom user defined options for Java. By default '-Xmx4g -XX:ReservedCodeCacheSize=256m' is used.

verbose

Optional, if TRUE, then additional debug information will be printed. FALSE by default.

Value

Returns a data.frame containing computed predictions

Aliases
  • h2o.mojo_predict_df
Documentation reproduced from package h2o, version 3.22.1.1, License: Apache License (== 2.0)

Community examples

Looks like there are no examples yet.