Doesn't seem possible: this function is always called
https://github.com/scikit-learn/scikit-learn/blob/c5497b7f7eacfaff061cf68e09bcd48aa93d4d6b/sklearn/cross_decomposition/_pls.py#L119
you can stop it from scaling the data, but not from centering it

On Sat, Jul 19, 2025 at 8:10 PM <[email protected]> wrote:

> I find that PLSRegression performs mean-centering automatically by
> default. How can I suppress it since I do not always need mean-centering?
> _______________________________________________
> scikit-learn mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> https://mail.python.org/mailman3//lists/scikit-learn.python.org
> Member address: [email protected]
>
_______________________________________________
scikit-learn mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/scikit-learn.python.org
Member address: [email protected]

Reply via email to