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

Master issue to make everything work with sparse matrices #641

Open
4 tasks
Zethson opened this issue Jan 15, 2024 · 1 comment
Open
4 tasks

Master issue to make everything work with sparse matrices #641

Zethson opened this issue Jan 15, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@Zethson
Copy link
Member

Zethson commented Jan 15, 2024

Description of feature

@Zethson Zethson added the enhancement New feature or request label Jan 15, 2024
@Zethson
Copy link
Member Author

Zethson commented Jan 30, 2024

After trying your example, I either get “No columns detected” for automatic mode, or when I specify the column name (taken from subject.var.iloc[-1].name ) I get the error AttributeError: ‘csr_matrix’ object has no attribute ‘ravel’
wrong name?
my call is ep.pp.encode(subject, encodings={'one-hot': ['illness,_injury,_bereavement,_stress_in_last_2_years']})

encoding doesn't work for sparse matrices yet

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

No branches or pull requests

2 participants