flennerhag / mlens

ML-Ensemble – high performance ensemble learning
http://ml-ensemble.com
MIT License
843 stars 108 forks source link

Bug fix: mlens.external.sklearn.type_of_target.py #144

Open Mrjoeybux opened 1 year ago

Mrjoeybux commented 1 year ago

Since python 3.10, the Sequence class of the collections module is now located at collections.abc. The fix is to check the python version and import from the correct location.