Calling mean_squared_error(..., squared=False) shows deprecation warning in sckit-learn 1.4:
Deprecated since version 1.4: 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.
This commit replaces mean_squared_error with root_mean_squared_error to fix this warning.
Calling mean_squared_error(..., squared=False) shows deprecation warning in sckit-learn 1.4: Deprecated since version 1.4: 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.
This commit replaces mean_squared_error with root_mean_squared_error to fix this warning.