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

[jvm-packages] LTR: distribute the features with same group into same partition #11023

Merged
merged 1 commit into from
Dec 3, 2024

Conversation

wbo4958
Copy link
Contributor

@wbo4958 wbo4958 commented Nov 27, 2024

To fix #6713

This PR leverages repartitionByRange to replace repartition for ranking problem, which can guarantee the feature instances in the same group can be distributed into the same partition.

@wbo4958
Copy link
Contributor Author

wbo4958 commented Nov 28, 2024

Hi @trivialfis, Could you help review it?

@trivialfis
Copy link
Member

trivialfis commented Nov 28, 2024

@wbo4958 The PR looks good to me. How difficult would it be to run a test with an actual dataset? Would love to see the accuracy as well. Consider the mslr dataset https://github.com/dmlc/xgboost/pull/11007/files .

@trivialfis trivialfis merged commit e25d56d into dmlc:master Dec 3, 2024
30 checks passed
@wbo4958 wbo4958 deleted the ltr branch December 4, 2024 03:18
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.

[jvm-packages] Spark training ranking broken
2 participants