getFailureModelMsg: Return error message of FailureModel.

View source: R/WrappedModel.R

getFailureModelMsgR Documentation

Return error message of FailureModel.

Description

Such a model is created when one sets the corresponding option in configureMlr. If no failure occurred, NA is returned.

For complex wrappers this getter returns the first error message encountered in ANY model that failed.

Usage

getFailureModelMsg(model)

Arguments

model

(WrappedModel)
The model.

Value

(character(1)).


berndbischl/mlr documentation built on Jan. 6, 2023, 12:45 p.m.