-
Notifications
You must be signed in to change notification settings - Fork 4
fix: upgrade s 8000 caffolding and support sklearn v1.6 #34
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
Conversation
c00c15b
to
155d542
Compare
Sklearn introduced a new data validation method in 1.6.0, which is This change solves the old issue but generates a new one that seems more related to how the package works rather than the scaffolding update:
|
Thanks for investigating @MattiaMolon ! Makes sense, but then we need to make sure that we have a fallback for users on sklearn < 1.6, as that is allowed according to our dependency spec. In any case I have a suspicion that fixing whatever the issue is for |
- Fix sample weight handling in CoherentLinearQuantileRegressor to match sklearn's expectations - Update parameter names from force_all_finite to ensure_all_finite for sklearn 1.6.0 - Add backward compatibility for both parameter names to support sklearn < 1.6.0 - Improve error handling for sample weights validation
Changes:
scipy<1.15
constraint because of BUG: optimize.linprog: 40x slower in v1.15 compared to v1.14 scipy/scipy#22655.α = np.sqrt(eps)
withα = eps**0.25
to address a floating point issue discovered bycheck_model
.