Learn R Programming

MiMIR (version 1.5)

getECE: getECE

Description

helper function to calculate the ECE of calibrations

Usage

getECE(actual, predicted, n_bins = 10)

Value

ECE value

Arguments

actual

observed binary phenotype

predicted

predicted values

n_bins

the number of bins