Extenden the Prediction interfaces to a threshold parameter
added toy threshold functions to each prediction method