10000 Common test for effect of sample_weight · Issue #5444 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

Common test for effect of sample_weight #5444

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
eickenberg opened this issue Oct 19, 2015 · 3 comments
Closed

Common test for effect of sample_weight #5444

eickenberg opened this issue Oct 19, 2015 · 3 comments

Comments

@eickenberg
Copy link
Contributor

Add a test for the following:

A sample weight of 2 (3, 4, 5, n) on a given sample should have the same effect as placing this sample 2 (3, 4, 5, n) times in the data. This should hold for many estimators, especially those that fully optimize a convex loss.

@eickenberg
Copy link
Contributor Author

working on this this afternoon

@MechCoder
Copy link
Member

Actually duplicated by #5367

@amueller
Copy link
Member

closing as duplicate.

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

No branches or pull requests

3 participants
0