Expected Calibration Error (ECE); the model is divided into 10 equal-width bins (default) and the mean of the observed (0/1) vs. mean of predicted is calculated per bin, weighted by emperical frequency of elements in bin i
get_ECE_equal_width(actual, predicted, bins = 10)
vector of observed class labels (0/1)
vector of uncalibrated predictions
number of bins for the equal-width binning model
equal-width ECE value