class ClassificationEvaluationUtil implements Serializable {

    public static void updateBinaryPartitionSummary(BinaryPartitionSummary statistics,
                                                    Tuple3<Double, Boolean, Double> t){
        if(!isMiddlePoint(t)) {
            if (t.f1) {
                statistics.curPositive++;
            } else {
                statistics.curNegative++;
            }
        }
        int compare = Double.compare(statistics.maxScore, t.f0);
        if(compare < 0){
            statistics.maxScore = t.f0;
        }
    }

}