gulps.analysis.calibration.Calibration

class gulps.analysis.calibration.Calibration(budget_costs, budget_strengths)[source]

Bases: object

Strengths and scores returned by calibrate().

Parameters:
  • budget_costs (tuple[float, ...]) – The score at each budget from one through the requested maximum.

  • budget_strengths (tuple[tuple[float, ...], ...]) – The strengths chosen at each budget.

property strengths: tuple[float, ...]

The strengths chosen at the full budget.

property cost: 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