Skip to content
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

MNT: change solver quantile regressor sklearn #235

Merged

Conversation

mathurinm
Copy link
Collaborator

sklearn raises an error when the version of scipy is > 1.11 and the QuantileRegressor solver is "interior-point"

@mathurinm mathurinm requested a review from Badr-MOUFAD March 27, 2024 11:18
@@ -28,7 +28,8 @@ def test_PDCD_WS(quantile_level):
clf = QuantileRegressor(
quantile=quantile_level,
alpha=alpha/n_samples,
fit_intercept=False
fit_intercept=False,
solver='highs',
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From v1.4 onward, the default solver is highs

But I think, it is good idea to pin it

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes that's weird, I got the issue without specifying. it was quicker to fix this way, even more because it's in a test and not our codebase so I'm ok with not fully understanding...

@mathurinm mathurinm merged commit e4650ec into scikit-learn-contrib:main Mar 28, 2024
4 checks passed
@mathurinm mathurinm deleted the mnt_solver_quantile_reg branch March 28, 2024 11:47
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.

2 participants