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
I am trying to use the root mean square error function in the metric, but got below error. It was tested on python 3.8.18, with scikit-learn version 1.0.2. Another scikit-learn version of 0.23.1 was tested and had the same issue.
Steps/Code to Reproduce
from sklearn.metrics import root_mean_squared_error
Expected Results
the Root mean square error is imported without any error message.
Actual Results
from sklearn.metrics import root_mean_squared_error
Traceback (most recent call last):
File "", line 1, in
ImportError: cannot import name 'root_mean_squared_error' from 'sklearn.metrics' (/opt/conda/lib/python3.8/site-packages/sklearn/metrics/init.py)
Describe the bug
Hi,
I am trying to use the root mean square error function in the metric, but got below error. It was tested on python 3.8.18, with scikit-learn version 1.0.2. Another scikit-learn version of 0.23.1 was tested and had the same issue.
Steps/Code to Reproduce
from sklearn.metrics import root_mean_squared_error
Expected Results
the Root mean square error is imported without any error message.
Actual Results
Versions
The text was updated successfully, but these errors were encountered: