code: def auprc(y_true, y_pred):
      
      y_true, y_pred = _mask_value_nan(y_true, y_pred)
      precision, recall, _ = skm.precision_recall_curve(y_true, y_pred)
      return skm.auc(recall, precision)
docs: Area under the precision-recall curve