Add docstrings to _auc and _average_precision.