mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-02-17 14:58:10 +00:00
Typo: dfference --> difference (I added an i)
This commit is contained in:
parent
a03b2eafc0
commit
c71471dc2f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user