baybe.objectives.deprecation.structure_objective

baybe.objectives.deprecation.structure_objective(val: dict, cls: type)[source]

A structure hook that automatically determines an objective fallback type.

Return type:

Objective