We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e05e31 commit 9ae7622Copy full SHA for 9ae7622
1 file changed
machine_learning/loss_functions.py
@@ -666,11 +666,18 @@ def root_mean_squared_error(y_true, y_pred):
666
"""
667
Root Mean Squared Error (RMSE)
668
669
+ Root Mean Squared Error (RMSE) is a standard metric used to evaluate the accuracy of regression models.
670
+ It measures the average magnitude of the prediction errors, giving higher weight to larger errors due to squaring.
671
+ The RMSE value is always non-negative, and a lower RMSE indicates better model performance.
672
+
673
RMSE = sqrt( (1/n) * Σ (y_true - y_pred) ^ 2)
674
- Args:
675
+ Reference: https://en.wikipedia.org/wiki/Root_mean_square_deviation
676
677
+ Parameters:
678
y_pred: Predicted Value
679
y_true: Actual Value
680
681
Returns:
682
float: The RMSE Loss function between y_Pred and y_true
683
0 commit comments