decorate.WrappedModel: Decorates a "WrappedModel" object with "invert_levels"...

View source: R/decoration.R

decorate.WrappedModelR Documentation

Decorates a "WrappedModel" object with "invert_levels" element. Additionally, decorates the learned model with model type-dependent elements.

Description

Decorates a "WrappedModel" object with "invert_levels" element. Additionally, decorates the learned model with model type-dependent elements.

Usage

## S3 method for class 'WrappedModel'
decorate(x, invert_levels = FALSE, ...)

Arguments

x

A "WrappedModel" object.

invert_levels

A flag indicating if the learned model should assume normal (FALSE) or inverted (TRUE) ordering of category values for the binary categorical target field.

...

Arguments to pass on to the "decorate.default" function


r2pmml documentation built on April 6, 2023, 1:12 a.m.