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)).


mlr documentation built on June 22, 2024, 10:51 a.m.