mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-02-25 18:38:39 +00:00
Calculating RMSE instead of MSE as the final error
This commit is contained in:
parent
ed5abdd37e
commit
4d518416a2
@ -164,7 +164,7 @@ def main():
|
||||
to predict the label of 10 different test values. Here we should prefer
|
||||
calculating Root Mean Squared Error over Mean Sqaured error because RMSE
|
||||
should be used when you need to communicate your results in an understandable
|
||||
way to end users or when penalising outliers is less of a priority.
|
||||
way.
|
||||
"""
|
||||
x = np.arange(-1.0, 1.0, 0.005)
|
||||
y = np.sin(x)
|
||||
|
Loading…
x
Reference in New Issue
Block a user