h2o (version 3.10.3.6)

h2o.aic: Retrieve the AIC.

Description

Retrieve the AIC. If "train", "valid", and "xval" parameters are FALSE (default), then the training AIC value is returned. If more than one parameter is set to TRUE, then a named vector of AICs are returned, where the names are "train", "valid" or "xval".

Usage

h2o.aic(object, train = FALSE, valid = FALSE, xval = FALSE)

Arguments

object
An or .
train
Retrieve the training AIC
valid
Retrieve the validation AIC
xval
Retrieve the cross-validation AIC