dask-ml
dask-ml copied to clipboard
Closes #480
Reference Issues/PRs
Fixes #480. See also:
- https://github.com/scikit-learn/scikit-learn/pull/13432
- https://github.com/scikit-learn/scikit-learn/issues/4632
- https://github.com/scikit-learn/scikit-learn/pull/10806
What does this implement/fix? Explain your changes.
This PR adds sample_weight to metrics in cross validation routines by propagating the sample_weight parameter passed to fit_params. It does not provide the ability to use different sample_weight values in validation.
Any other comments?
A scikit-learn version of this PR has been created at https://github.com/scikit-learn/scikit-learn/pull/13432
For more detailed information on the motivation for this PR, see http://deaktator.github.io/2019/03/10/the-error-in-the-comparator/
Can you ping me here when the scikit-learn version is merged / closed? I don't have time to follow it at the moment.
this might be of interest here: https://github.com/scikit-learn/scikit-learn/pull/26896 (and other metadata routing work we're doing now)