mlrCPO (version 0.3.7-2)

setCPOId: Set the ID of a CPO Object

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

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