ProblemBatch.get_score¶
- abstract ProblemBatch.get_score(*, decision, get_info=False, step=None)[source]¶
Evaluate a scalar score for each decision graph in the batch.
- Parameters:
decision (JaxGraph) – Batched decision graph to evaluate.
get_info (bool) – Flag indicating if additional information should be returned for tracking purpose.
step (int | None) – Training step number passed by the trainer. Useful for scheduling.
- Returns:
A tuple of: - list[float]: list of score values. - dict: A dictionary of additional information (empty if get_info=False).
- Raises:
NotImplementedError – If the subclass does not override this constructor.
- Return type:
tuple[list[float], dict]