getECE: getECE

getECER Documentation

getECE

Description

helper function to calculate the ECE of calibrations

Usage

getECE(actual, predicted, n_bins = 10)

Arguments

actual

observed binary phenotype

predicted

predicted values

n_bins

the number of bins

Value

ECE value


DanieleBizzarri/MiMIR documentation built on March 1, 2023, 11:02 p.m.