Overrides, queries, or resets the runtime policy consulted by
edi_cold_start_dispatch_policy() for whether an inference class's C++
fitting backend defaults to an OLS-based smart_cold_start or a plain
zero-vector start; see get_cold_start_dispatch_policy for the
built-in default table and the rationale behind it.
Value
Invisible NULL when policy is supplied (a mutation), or
invisibly the current policy configuration list when called for its
side-effect-free query/reset value.
Details
Call with no arguments (policy = NULL, reset = FALSE)
to retrieve the current configuration without changing it. Pass a named
list to policy to merge new/overriding entries into the current
configuration via modifyList (so default and/or
inference_class_overrides can each be supplied independently, and
entries not mentioned are left untouched — this cannot remove an
existing override pattern, only add or replace one). Pass reset =
TRUE to discard any accumulated overrides and restore the package's
built-in default policy exactly as returned by
get_cold_start_dispatch_policy.
See also
get_cold_start_dispatch_policy for the policy schema
and built-in defaults; set_warm_start_dispatch_policy and
set_optimization_dispatch_policy for the analogous setters
governing warm-starting and optimizer-algorithm choice;
tune_EDI_for_this_machine, which calls this setter with
machine-measured overrides rather than hand-picked ones.
