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.

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