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

Select Columns: densify X #2359

Closed
ajdapretnar opened this issue May 31, 2017 · 3 comments
Closed

Select Columns: densify X #2359

ajdapretnar opened this issue May 31, 2017 · 3 comments
Labels
bug A bug confirmed by the core team

Comments

@ajdapretnar
Copy link
Contributor

Orange version

3.5.dev

Expected behavior

Don't crash with resetting a sparse matrix in Select Columns.

Actual behavior

Test&Score crashes when a sparse class column on input.

Steps to reproduce the behavior

Corpus (bookexcerpts) - Bag of Words - Topic Modelling - Select Columns (put one topic in place of a category) - Test&Score.

Additional info (worksheets, data, screenshots, ...)

When checking a Data Table, the class column is sparse. I assume this is the issue.
screen shot 2017-05-31 at 09 12 14

@ajdapretnar ajdapretnar added bug A bug confirmed by the core team DH2017 labels May 31, 2017
@jerneju
Copy link
Contributor

jerneju commented May 31, 2017

When checking a Data Table, the class column is sparse. I assume this is the issue.

Agree, this is the issue. But the actual problem is in Select Columns widget. It has to make class column(s) as dense array and not sparse. Y should be always dense.

@ajdapretnar
Copy link
Contributor Author

Yeah, that makes sense.

@ajdapretnar ajdapretnar changed the title Test&Score: can't predict on sparse Select Columns: densify X May 31, 2017
@nikicc nikicc mentioned this issue Jun 6, 2017
3 tasks
@ajdapretnar
Copy link
Contributor Author

Duplicate of #2498.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug confirmed by the core team
Projects
None yet
Development

No branches or pull requests

2 participants