sequence#

Wrapper class for combining multiple objectives into a single objective.

Classes

Objective_Sequence(obj_list)

A composite objective that combines multiple acquisition objectives into a single objective, potentially single or multi-output

class obsidian.objectives.sequence.Objective_Sequence(obj_list: list[Objective])[source]#

Bases: Objective

A composite objective that combines multiple acquisition objectives into a single objective, potentially single or multi-output

obj_list#

The list of acquisition objectives.

Type:

list[Objective]

Raises:

TypeError – If the input is not a list of Objective objects.

forward(samples: Tensor, X: Tensor | None = None) Tensor[source]#

Evaluate the objective function(s) on the candidate set samples, X

classmethod load_state(obj_dict: dict)[source]#

Loads the objective(s) from a state dictionary

save_state() dict[source]#

Saves the objective(s) to a state dictionary