getECE {MiMIR}R 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


[Package MiMIR version 1.5 Index]