from sklearn.utils._testing import ignore_warnings
ModuleNotFoundError: No Module named 'sklearn.utils._testing'
How Could I solve this problem? My sklearn version is 0.21.3
In version 0.21.3: sklearn.utils.testing
from sklearn.utils.testing import ignore_warnings
In version 0.24.1 or later (link): sklearn.utils._testing
(with underscore)
from sklearn.utils._testing import ignore_warnings
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With