setCPOId: Set the ID of a CPO Object

Description Usage Arguments Value See Also

View source: R/properties.R

Description

Sets the id of a CPO. Setting the id is also possible during construction by a CPOConstructor using the id parameter.

The exported hyperparameters of a CPO will all have the id as prefix. This makes it possible to compose CPOs that have clashing parameter names.

Usage

1
setCPOId(cpo, id)

Arguments

cpo

[CPO]
The cpo.

id

[character(1) | NULL]
The ID. If this is NULL, the ID is set to the default for the CPO at hand, which is the CPO “name”, see getCPOName.

Value

[CPO] the CPO with modified id.

See Also

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

Other CPO ID related: getCPOId


mlr-org/mlrCPO documentation built on May 28, 2019, 8:45 a.m.