Skip to contents

Model Calibration

Usage

model_calibration(df, preds_col, binary_class_col)

Arguments

df

A dataframe

preds_col

A string with the name of the column containing the probabilistic predictions

binary_class_col

A string with the name of the column with the labels