Skip to content
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

ValueError #9

Open
htdbui opened this issue Sep 22, 2024 · 1 comment
Open

ValueError #9

htdbui opened this issue Sep 22, 2024 · 1 comment

Comments

@htdbui
Copy link

htdbui commented Sep 22, 2024

plt.plot(frequency, plsmod.coef_)

ValueError: x and y must have same first dimension, but have shapes (100,) and (1, 100)

@julianfaraway
Copy link
Owner

This depends on the version of scikit-learn. The older, current and future (change is advertised) versions would require different code. The intention is clear so users will need to adapt to their version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants