Learn R Programming

h2o (version 3.8.3.3)

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

Description

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

Usage

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

Arguments

object
An H2OModel or H2OModelMetrics
train
Retrieve the training null deviance
valid
Retrieve the validation null deviance
xval
Retrieve the cross-validation null deviance