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

K-means: work on sparse #2913

Closed
mrka124 opened this issue Feb 17, 2018 · 2 comments
Closed

K-means: work on sparse #2913

mrka124 opened this issue Feb 17, 2018 · 2 comments
Labels
bug A bug confirmed by the core team

Comments

@mrka124
Copy link

mrka124 commented Feb 17, 2018

if len(X) <= 5000:

len(X) should be X.shape[0] beacause it raise error sparse matrix length is ambiguous; use getnnz() or shape[0] when use tf-idf sparse matrix with Kmeans

Error flow
error

@mrka124 mrka124 changed the title Clustering fail Clustering fail: sparse matrix length is ambiguous; use getnnz() or shape[0] Feb 17, 2018
@ajdapretnar ajdapretnar added the bug A bug confirmed by the core team label Feb 23, 2018
@ajdapretnar ajdapretnar changed the title Clustering fail: sparse matrix length is ambiguous; use getnnz() or shape[0] K-means: work on sparse Jul 12, 2018
@coco-egaliciar
Copy link

Any update for this? I have the same situation
Orange Version: 3.13

image

@ajdapretnar
Copy link
Contributor

This was fixed in #3140. Please upgrade Orange.

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

3 participants