You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: stubs/sklearn/metrics/_regression.pyi
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -107,6 +107,7 @@ def mean_squared_error(
107
107
@deprecated(
108
108
"`squared` is deprecated in 1.4 and will be removed in 1.6. Use `root_mean_squared_error` instead to calculate the root mean squared error."
109
109
)
110
+
@overload
110
111
defmean_squared_error(
111
112
y_true: MatrixLike|ArrayLike,
112
113
y_pred: MatrixLike|ArrayLike,
@@ -146,6 +147,7 @@ def mean_squared_log_error(
146
147
@deprecated(
147
148
"`squared` is deprecated in 1.4 and will be removed in 1.6. Use `root_mean_squared_log_error` instead to calculate the root mean squared logarithmic error."
0 commit comments