-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MultiTaskLassoCV got an unexpected keyword argument 'normalize' #47
Comments
Same issue. Found any root cause @anhtvan? |
https://scikit-learn.org/1.1/modules/generated/sklearn.linear_model.MultiTaskLassoCV.html?highlight=multitasklassocv Looking at this doc seems like normalize argument was deprecated and later removed altogether from scikit-learn 1.2. Downgrading sci-kit-learn should do, I hope for now. |
@sak-18 which version of scikit-learn do you recommend? |
Has anyone found a solution, I tried to revert Scikit-learn to version 1.0, but I was unsuccessful. |
@samuelgarca I cannot confirm the root cause, but I was able to solve this error by modifying the All I did was comment out the lines containing Since this modification, I have been able to run I'm not knowledgeable enough about versioning and compatibility to explain the root cause, but hopefully, this tip will help you get the package operational. Jack |
I think the sklearn dependency is obsolete. In the newer version this parameter is already removed |
I have done the same as @VanAltrades and run the code without any problems. Make sure you normalize the data before. |
Hi, I'm getting an issue when trying to run this code. As far as I know the data is correclty formatted. The type error relates to some LassCV backend - could someone help me please?
I am running it on both python 3.7.9 and 3.11.2, so hopefully it's not a python issue.
The text was updated successfully, but these errors were encountered: