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

Fix CNE test tolerances #360

Merged
merged 3 commits into from Feb 26, 2023
Merged

Fix CNE test tolerances #360

merged 3 commits into from Feb 26, 2023

Conversation

rcurtin
Copy link
Member

@rcurtin rcurtin commented Feb 22, 2023

In #359 it was pointed out that the CNEHimmelblauFunctionTest was failing on i386. I investigated by running it (on x86_64) with tons of different random seeds, and found it failed about once every 80 or 90 runs. So I adjusted the tolerances accordingly.

I also followed @conradsnicta's suggestion to print the random seed when running the tests. (It can be set from the command-line with the --rng-seed option.)

Copy link

@mlpack-bot mlpack-bot bot left a comment

Choose a reason for hiding this comment

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

Second approval provided automatically after 24 hours. 👍

@conradsnicta conradsnicta merged commit 2724608 into mlpack:master Feb 26, 2023
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.

None yet

2 participants