Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

No module named 'sklearn.model_selection' problem solving

Shulou Source: shulou.com Published: 2022-06-03 07:16:46 11月23日 Update

Wanted to learn GridSearchCV, but reported an error:

No module named 'sklearn.model_selection'

Later, I typed conda list into Anaconda Prompt and found that the sklearn version was 0.17.0, which was too low.

There is another problem with the update.

At the beginning, enter: conda update scikit-learn error

Last use: pip install-U scikit-learn successfully updated to 0.19.1

Tags: Update input question success version Learning Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Redmi Shulou Tech Info Huawei macOS Docker