decorate.WrappedModel {r2pmml} | R 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 |
[Package r2pmml version 0.28.0 Index]