Skip to content

eliminate zeros after summing duplicates #5861

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

Closed
wants to merge 1 commit into from

Conversation

justinvf-zz
Copy link

sum_duplicates can create zero entries in the csr matrix, which can give unexpected results in callers (see #3637).

sum_duplicates can create zero entries in the csr matrix, which can give unexpected results in callers (see scikit-learn#3637).
@amueller
Copy link
Member

can you please add a regression test?

@amueller amueller added the Bug label Sep 12, 2016
@amueller amueller added this to the 0.19 milestone Sep 12, 2016
@jnothman
Copy link
Member

@justinvf, I'm labelling this as needing a contributor to take it over. Let us know if you instead intend to complete it.

@rth
Copy link
Member

rth commented Jun 8, 2017

This PR was superseded by PR #7565 (using alternate_sign=False in HashingVectorizer would not create zeros in the csr matrix in the first place). Can someone please close this PR ? @jnothman ? Thanks.

@jnothman
Copy link
Member

jnothman commented Jun 8, 2017

Sure

@jnothman jnothman closed this Jun 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants