getCPOAffect: Get the Selection Arguments for Affected CPOs

Description Usage Arguments Value See Also

View source: R/properties.R

Description

Get the affect.* arguments from when the CPO was constructed. These are in one-to-one correspondence to the affect.* parameters given to the CPOConstructor, see the parameter documentation there.

Usage

1
getCPOAffect(cpo, drop.defaults = TRUE)

Arguments

cpo

[CPO]
The cpo.

drop.defaults

[logical(1)]
Whether to only return the arguments that deviate from the default. Default is TRUE.

Value

[list]. A named list of the affect.* arguments given to the CPOConstructor. The names are stripped of the “affect.”-prefix.

See Also

Other getters and setters: CPO, getCPOClass, getCPOConstructor, getCPOId, getCPOName, getCPOOperatingType, getCPOPredictType, getCPOProperties, getCPOTrainedCPO, getCPOTrainedCapability, setCPOId


mlr-org/mlrCPO documentation built on Feb. 4, 2019, 12:16 p.m.