calc_baseline_precision function

Calculate the fraction of positives, i.e. baseline precision for a PRC curve