You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My team changed to scikit-learn v1.6.1 this week. We had v1.5.1 before. Our code crashes in this exact line with the error "Unexpected <class 'AttributeError'>. 'LinearRegression' object has no attribute 'positive'".
We cannot deploy in production because of this. I am desperate enough to come here to ask for help. I do not understand why it would complain that the attribute does not exist given that we were using v1.5.1 before and the attribute has existed for 4 years now. My only guess is if we are loading a very old pickled model that does not have the attribute, so it crashes here. Unfortunately I cannot share any pieces of code as it is proprietary.
thanks for opening this issue. It really helps though, if you can provide a minimal reproducible including input data. That doesn't need to contain anything proprietary, but rather be a scheme of your way to use scikit-learn models. The only thing that counts is that we see what you did and can re-create the problem.Thank you.
My team changed to scikit-learn v1.6.1 this week. We had v1.5.1 before. Our code crashes in this exact line with the error "Unexpected <class 'AttributeError'>. 'LinearRegression' object has no attribute 'positive'".
We cannot deploy in production because of this. I am desperate enough to come here to ask for help. I do not understand why it would complain that the attribute does not exist given that we were using v1.5.1 before and the attribute has existed for 4 years now. My only guess is if we are loading a very old pickled model that does not have the attribute, so it crashes here. Unfortunately I cannot share any pieces of code as it is proprietary.
Originally posted by @ItsIronOxide in #30187 (comment)
The text was updated successfully, but these errors were encountered: