As far as I know, Convolutional Neural Networks in Keras use a threshold, from which they assign an event to a certain class. For a binary decision problem this threshold is oft