Skip to content

Commit c71471d

Browse files
author
cclauss
authored
Typo: dfference --> difference (I added an i)
1 parent a03b2ea commit c71471d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

machine_learning/scoring_functions.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def rmse(predict, actual):
4141
actual = np.array(actual)
4242

4343
difference = predict - actual
44-
square_diff = np.square(dfference)
44+
square_diff = np.square(difference)
4545
mean_square_diff = square_diff.mean()
4646
score = np.sqrt(mean_square_diff)
4747
return score

0 commit comments

Comments
 (0)