Skip to content

error in behavioral_pls while reproducing the example #67

@nSpotorno

Description

@nSpotorno

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions