Minimum error thresholding / Kittler-Illingworth Thresholding
Returns thresholded values.
Training data
Predicted values
Minimum error thresholding / Kittler-Illingworth Thresholding