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 cox objective test by using XGBOOST_PARALLEL_STABLE_SORT #7756

Merged
merged 1 commit into from
Mar 26, 2022

Conversation

hmchen-github
Copy link
Contributor

XGBOOST_PARALLEL_SORT cannot preserve the original order of
equal elements. It causes flaky failure for the cox regression
unittest. Use stable sort to make sure the result is deterministic.

Fix #7754

XGBOOST_PARALLEL_SORT cannot preserve the original order of
equal elements. It causes flaky failure for the cox regression
unittest. Use stable sort to make sure the result is deterministic.

Fix dmlc#7754
Copy link
Member

@trivialfis trivialfis left a comment

Choose a reason for hiding this comment

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

Thank you for the fix.

@trivialfis trivialfis merged commit b37ff3d into dmlc:master Mar 26, 2022
@hmchen-github hmchen-github deleted the fix-cox-test branch April 21, 2022 05:29
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.

Objective.CoxRegressionGPair test failed because the label sorting is not stable
2 participants