Describe the bug
This package raises an exception when trying to import hcrystallball.metrics with scikit-learn >=1.3.0
To Reproduce
install hcrystallball into a new (Python >=3.8) environment along with scikit-learn>=1.3.0.
Attempt to import hcrystallball.metrics
Note the following exception:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\...\lib\site-packages\hcrystalball\metrics\__init__.py", line 1, in <module>
from ._scorer import get_scorer
File "C:\...\lib\site-packages\hcrystalball\metrics\_scorer.py", line 5, in <module>
from sklearn.metrics import SCORERS
ImportError: cannot import name 'SCORERS' from 'sklearn.metrics' (C:\...\lib\site-packages\sklearn\metrics\__init__.py)
Expected behavior
no exception
Screenshots
N/A
Additional context
SCORERS has been removed from sklearn.metrics as of 1.3.0
Describe the bug
This package raises an exception when trying to import hcrystallball.metrics with scikit-learn >=1.3.0
To Reproduce
install hcrystallball into a new (Python >=3.8) environment along with scikit-learn>=1.3.0.
Attempt to import hcrystallball.metrics
Note the following exception:
Expected behavior
no exception
Screenshots
N/A
Additional context
SCORERS has been removed from
sklearn.metricsas of 1.3.0