def kdd_mapk(actual, predicted, k=10):
    return np.mean([kdd_apk(a,p,k) for a,p in zip(actual, predicted)])
Computes the mean average precision at k for Track 1 of the 2012 KDD Cup.
dataset/ETHPy150Open benhamner/Metrics/Python/ml_metrics/custom/kdd_average_precision.py/kdd_mapk