public double calculateAverageAUCPR(){
        double ret = 0.0;
        for (int i = 0; i < numLabels(); i++) {
            ret += calculateAUCPR(i);
        }

        return ret / (double) numLabels();
    }
public double calculateAverageAUCPR ( ) { double ret = 0.0 ; for ( int i = 0 ; i < numLabels ( ) ; i ++ ) { ret += calculateAUCPR ( i ) ; } return ret / ( double ) numLabels ( ) ; }
@return the (macro-)average AUPRC (area under precision recall curve)