gulps.analysis.calibration.Calibration

class gulps.analysis.calibration.Calibration(budget_scores, budget_choices)[source]

Bases: object

The candidates chosen by calibrate().

Parameters:
  • budget_scores (tuple[float, ...]) – The score at each budget, starting at one.

  • budget_choices (tuple[tuple[int, ...], ...]) – The indices of the candidates chosen at each budget.

property choices: tuple[int, ...]

The indices of the candidates chosen at the full budget.

property score: float

The score at the full budget.

plot(ax=None)

Plot score against budget on ax, or on new axes.

Parameters:

ax (matplotlib.axes.Axes | None)

Return type:

matplotlib.axes.Axes