Skip to contents

Returns IDs of parameters tagged as targets (minimize, maximize, or learn).

Usage

codomain_target_ids(codomain)

Arguments

codomain

(paradox::ParamSet or bbotk::Codomain)
The codomain to inspect.

Value

Character vector of target parameter IDs.

Details

This is a convenience wrapper around codomain$target_ids that works with both ParamSet and Codomain objects. If you know you have a Codomain object, you can use codomain$target_ids directly.