Skip to content

Deprecate normalize parameter in calibration_curve #22482

@hildeweerts

Description

@hildeweerts

Describe the workflow you want to enable

Similar to the behavior of calibration_curve, I would like to be able to set CalibrationDisplay.from_predictions(normalize=True).

Describe your proposed solution

Add a keyword argument normalize to CalibrationDisplay.from_predictions and pass it to calibration_curve.

Describe alternatives you've considered, if relevant

I could manually normalize the values, but given that the functionality is already present in the underlying calibration_curve I would say this is a relatively easy thing to adjust on the scikit-learn side.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    ModerateAnything that requires some knowledge of conventions and best practicesmodule:calibration

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions