R/metric_registry.R
build_objectives.RdCreates a list compatible with define_objectives() where each entry contains
the metric label, optimization direction, and an evaluation function with the
signature (truth, estimate, selected = NULL). Additional parameters may be
supplied per metric via the params list (e.g., custom cutoffs).
build_objectives(metrics, params = list(), directions = NULL)Named list of objective descriptors.