powered by
helper function to calculate the ECE of calibrations
getECE(actual, predicted, n_bins = 10)
ECE value
observed binary phenotype
predicted values
the number of bins