Skip to content

TST More stable test_uniform_grid #16621

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

Conversation

ogrisel
Copy link
Member

@ogrisel ogrisel commented Mar 3, 2020

This is a tentative fix for #15821 (test_uniform_grid fails on ppc64le and aarch64).

By increasing the number of random seeds used in the test I could trigger similar failures on amd64. I then increased the perplexity to make the test easier. On amd64 this ensures that the test passes for all seeds in range(100) (IIRC).

Hopefully this will also make the tests pass on ppc64le and aarch64 although I have not tested because that would require setting up a local VM or new CI configuration.

@ogrisel ogrisel added this to the 0.23 milestone Mar 3, 2020
Copy link
Member

@jeremiedbb jeremiedbb left a comment

Choose a reason for hiding this comment

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

coverage can be ignored.

This CI run can't tell if the issue is fixed. I guess we can only hope and merge, so lgtm :)

Copy link
Member

@thomasjpfan thomasjpfan left a comment

Choose a reason for hiding this comment

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

I checked on my machine (OSX) that updating the perplexity to 50 allows the test to pass for seeds=range(100).

LGTM

Copy link
Member

@thomasjpfan thomasjpfan left a comment

Choose a reason for hiding this comment

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

I checked on my machine (OSX) that updating the perplexity to 50 allows the test to pass for seeds=range(100).

LGTM

@thomasjpfan thomasjpfan changed the title [MRG] More stable test_uniform_grid TST More stable test_uniform_grid Mar 3, 2020
@thomasjpfan thomasjpfan merged commit 8910b14 into scikit-learn:master Mar 3, 2020
@ogrisel ogrisel deleted the fix-15821-test_uniform_grid branch March 3, 2020 17:06
gio8tisu pushed a commit to gio8tisu/scikit-learn that referenced this pull request May 15, 2020
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.

3 participants