def kdd_mapk(actual, predicted, k=10):
    return np.mean([kdd_apk(a,p,k) for a,p in zip(actual, predicted)])
Format the result in a fashion similar to grep. Line numbers passed to
dataset/ETHPy150Open benhamner/Metrics/Python/ml_metrics/custom/kdd_average_precision.py/kdd_mapk--crossover with--dataset/ETHPy150Open spranesh/Redhawk/redhawk/common/format_position.py/__FormatResult