I am trying to import PLSregression as “from sklearn.cross_decomposition import PLSRegression, PLSSVD” but i am encountering this error: “cannot import name ‘pinv2’ from ‘scipy.linalg“.
even though I updated everything i couldn’t fix it. Can anybody please help me? Thanks.
I updated the last versions of scikit-learn and scipy.
New contributor
Sarkirfur is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.