1

ModuleNotFoundError: No module named 'sklearn.ensemble._bagging'

Which version is suitable of scikit learn for the above error?

I am facing this issue when I am using the python 3.7 version. And I can't update the version.

James Z
  • 12,209
  • 10
  • 24
  • 44
Aditya rai
  • 11
  • 1
  • I don't think there is any version of `scikit-learn` which contains `sklearn.ensemble._bagging`. You can check the API of `sklearn.ensemble` [here](https://scikit-learn.org/stable/support.html#documentation-resources) with any version. – GenZ Aug 19 '23 at 13:57

0 Answers0