calibration_curve
A function that sorts rows into groups by predicted risk and returns each group's real rate and average prediction, to check whether probabilities are honest.
A function that sorts rows into groups by predicted risk and returns each group's real rate and average prediction, to check whether probabilities are honest.