From c71471dc2f9b816bfe11280e47d037afecdf059e Mon Sep 17 00:00:00 2001 From: cclauss Date: Sat, 25 Nov 2017 12:22:35 +0100 Subject: [PATCH] Typo: dfference --> difference (I added an i) --- machine_learning/scoring_functions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/machine_learning/scoring_functions.py b/machine_learning/scoring_functions.py index 4204716cd..27e4a829c 100644 --- a/machine_learning/scoring_functions.py +++ b/machine_learning/scoring_functions.py @@ -41,7 +41,7 @@ def rmse(predict, actual): actual = np.array(actual) difference = predict - actual - square_diff = np.square(dfference) + square_diff = np.square(difference) mean_square_diff = square_diff.mean() score = np.sqrt(mean_square_diff) return score