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

error in behavioral_pls while reproducing the example #67

Open
nSpotorno opened this issue Jan 8, 2025 · 1 comment
Open

error in behavioral_pls while reproducing the example #67

nSpotorno opened this issue Jan 8, 2025 · 1 comment

Comments

@nSpotorno
Copy link

Thank you very much for this repository!
I was trying to use behavioral_pls but I am encountering a problem while reproducing the example "An exercise in calisthenics"
running

from pyls.examples import load_dataset
data = load_dataset('linnerud')

results = behavioral_pls(**data)

I get an error related to matrix dimensions mismatch in matmul:

ValueError: matmul: Input operand 1 has a mismatch in its core dimension 0, with gufunc signature (n?,k),(k,m?)->(n?,m?) (size 1 is different from 3)

the same happen if I use my own data. Any idea from where the error is coming from and how could I fix it?

during the installation of pypls I got a warning that "Package 'pyls.tests.data' is absent from the packages configuration" but the installation proceeded.
Many thanks in advance!

@winsonfzyang
Copy link

I'm also having the same issue as well after re-installing pypls.

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