cleverly.validation.NuisanceModelReport#
- class cleverly.validation.NuisanceModelReport(name: str, kind: str, metrics: dict[str, float], calibration: dict[str, list[float]], learner_weights: dict[str, float], learner_risks: dict[str, float], calibration_omission: str | None = None)[source]#
Fit quality for one nuisance model.
- Parameters:
- name
str Which nuisance this report describes.
- kind
str Whether it is a regression or a classification.
- metrics
dictofstrtofloat Fit metrics at the report’s evaluation rows.
- calibration
dictofstrtolistoffloat Binned mean prediction and observed rate.
- learner_weights
dictofstrtofloat Ensemble weight per candidate.
- learner_risks
dictofstrtofloat Cross-validated risk per candidate.
- calibration_omission
strorNone Why a probability report has no
calibration_slope, for exampleCALIBRATION_CONSTANT_WITHIN_FOLDS.Nonewhen the slope is available or the report is not a probability model.
- name