-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
PLSRegression not working with VotingRegressor #26549
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
Comments
As a proposed solution, I suggest creating a custom subclass of Here is the relevant code for the proposed PLS1D subclass:
Output |
I think that we might want I think other multi-output regressors such as |
We might also accept a PR to make |
I would like to make a PR for the first suggestion (i.e., automatically ravel the prediction when |
/take |
Hi,
Unfortunately, PLSRegression does not work in VotingRegressor. Likely related to PLSRegression returning predictions in shape of (n_samples, 1) instead of (n_samples,) like other single-target regressors.
thanks!
The text was updated successfully, but these errors were encountered: