predict.H2OAutoML: Predict on an AutoML object

View source: R/automl.R

predict.H2OAutoMLR Documentation

Predict on an AutoML object

Description

Obtains predictions from an AutoML object.

Usage

## S3 method for class 'H2OAutoML'
predict(object, newdata, ...)

## S3 method for class 'H2OAutoML'
h2o.predict(object, newdata, ...)

Arguments

object

a fitted H2OAutoML object for which prediction is desired

newdata

An H2OFrame object in which to look for variables with which to predict.

...

additional arguments to pass on.

Details

This method generated predictions on the leader model from an AutoML run. The order of the rows in the results is the same as the order in which the data was loaded, even if some rows fail (for example, due to missing values or unseen factor levels).

Value

Returns an H2OFrame object with probabilites and default predictions.


h2o documentation built on May 29, 2024, 4:26 a.m.