getECE function

getECE

getECE

helper function to calculate the ECE of calibrations

getECE(actual, predicted, n_bins = 10)

Arguments

  • actual: observed binary phenotype
  • predicted: predicted values
  • n_bins: the number of bins

Returns

ECE value

  • Maintainer: Daniele Bizzarri
  • License: GPL-3
  • Last published: 2024-02-01

Useful links