Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix: replaced check_consistent_length with _check_sample_weight in DBSCAN #15471

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

Merged
merged 2 commits into from
Nov 2, 2019

Conversation

akeshavan
Copy link
Contributor

Reference Issues/PRs

Fixes the DBSCAN part of #15358

What does this implement/fix? Explain your changes.

Using the newly introduced utils.validation._check_sample_weight which returns a validated sample_weight array for the DBSCAN fit method.

pair programmed with @kesshijordan for the wimlds SF sprint

@amueller
Copy link
Member

amueller commented Nov 2, 2019

Please check the CI failures.

@amueller
Copy link
Member

amueller commented Nov 2, 2019

hm the failure seems unrelated.

@amueller
Copy link
Member

amueller commented Nov 2, 2019

It's fixed in master, please merge upstream master.

@amueller amueller merged commit beb7afc into scikit-learn:master Nov 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants