From 78be81a68423ce17c7ad4775409cf227bdd418d5 Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Mon, 30 Dec 2019 22:46:25 +1100 Subject: [PATCH] Fix simple typo: prescision -> precision Closes #52 --- Python/ml_metrics/custom/kdd_average_precision.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Python/ml_metrics/custom/kdd_average_precision.py b/Python/ml_metrics/custom/kdd_average_precision.py index c3d8cd6..0d8e71f 100644 --- a/Python/ml_metrics/custom/kdd_average_precision.py +++ b/Python/ml_metrics/custom/kdd_average_precision.py @@ -7,7 +7,7 @@ def kdd_apk(actual, predicted, k=10): This modified version uses the number of actual clicks as the denominator, regardless of k. - This function computes the average prescision at k between two lists of + This function computes the average precision at k between two lists of items. Parameters @@ -48,7 +48,7 @@ def kdd_mapk(actual, predicted, k=10): This modified version uses the number of actual clicks as the denominator, regardless of k. - This function computes the mean average prescision at k between two lists + This function computes the mean average precision at k between two lists of lists of items. Parameters