-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
SLEP006: default routing #26179
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
Comments
For the case of
Some estimators such as There exist meta-estimators such as |
In the context of:
we've also discussed the possibility of developing a default routing strategy for certain metadata. In most cases this is
sample_weight
and probablygroups
in scikit-learn itself.This would mean, after the introduction of SLEP006, this code would work, and route
sample_weight
to every object which accepts it (since that's what we think is suitable in this case):We can then decide whether or not we want the auto-routing to be enabled by default. One major thing to consider here is that with auto-routing enabled, behavior of the same code can change from version to version for two main reasons:
sample_weight
in versionx
, but starts supporting it in versionx+1
, and with default routing the behavior of the same code changesNotes
sample_weight
or other metadata if they see fitcc @scikit-learn/core-devs
The text was updated successfully, but these errors were encountered: