Ji-Zhang / datacleanbot

MIT License
8 stars 1 forks source link

meta-learner is scikit-learn version dependent #2

Open amueller opened 5 years ago

amueller commented 5 years ago

I can't run autoclean with the sklearn dev version, I get

AttributeError: module 'sklearn.utils.deprecation' has no attribute 'DeprecationDict'
Ji-Zhang commented 5 years ago

I can't run autoclean with the sklearn dev version, I get

AttributeError: module 'sklearn.utils.deprecation' has no attribute 'DeprecationDict'

Not sure I understand this problem. Is it because that sklearn.externals.joblib is changed in the dev version?

amueller commented 5 years ago

I don't think it's related to that but not entirely sure. I assume that whatever you pickled had a DeprecationDict in it, but that doesn't exist in sklearn any more.

Ji-Zhang commented 5 years ago

I don't think it's related to that but not entirely sure. I assume that whatever you pickled had a DeprecationDict in it, but that doesn't exist in sklearn any more.

I referred to this post https://www.pythonanywhere.com/forums/topic/13053/ and I think the problem is related to GridSearchCV which I also used. I just updated sklearn to the latest version and retrained the meta-learner. Please let me know if this problem still exists. Thanks in advance.