Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

TST Fixes test for 32bit wheels #19402

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

Merged
merged 7 commits into from
Feb 12, 2021

Conversation

thomasjpfan
Copy link
Member

Reference Issues/PRs

Fixes #19316

What does this implement/fix? Explain your changes.

Non-scaled data and LBFGS do not work well together. This PR

  1. Increases the regularization strength test_partial_dependence_dataframe, which is useful when the preprocessor is None.
  2. Scale data and increase max_iter in test_logistic_regression_multi_class_auto.

Any other comments?

Tested this locally in docker and osx. I would want to run cd build, but I rather not use the ARM credits. I think we need to way to only run cd build on github actions.

@thomasjpfan thomasjpfan marked this pull request as draft February 8, 2021 17:24
@thomasjpfan
Copy link
Member Author

Draft for now, since I adjust the github action yaml to build the wheel for 32 bit.

@thomasjpfan
Copy link
Member Author

I enabled the wheel building to make sure this fix works: https://github.com/scikit-learn/scikit-learn/actions/runs/548822022

@thomasjpfan thomasjpfan marked this pull request as ready for review February 8, 2021 18:40
sklearn/inspection/tests/test_partial_dependence.py Outdated Show resolved Hide resolved
Copy link
Member

@glemaitre glemaitre left a comment

Choose a reason for hiding this comment

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

I think this make sense. I am just not sure if we should add a scaling for the permutation importance test.

Copy link
Member

@rth rth left a comment

Choose a reason for hiding this comment

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

Thanks!

@rth rth merged commit f4ed4c1 into scikit-learn:main Feb 12, 2021
@glemaitre glemaitre mentioned this pull request Apr 22, 2021
12 tasks
glemaitre pushed a commit to glemaitre/scikit-learn that referenced this pull request Apr 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Numerical stability bug with master wheels
3 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.