Typo: dfference --> difference (I added an i)

This commit is contained in:
cclauss 2017-11-25 12:22:35 +01:00 committed by GitHub
parent a03b2eafc0
commit c71471dc2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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