ThresholdClassifier second edition