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 pairwise objective with NDCG metric along with custom gain. #10100

Merged
merged 2 commits into from
Mar 11, 2024

Commits on Mar 8, 2024

  1. Fix pairwise objective with NDCG metric.

    - Allow setting `ndcg_exp_gain` for `rank:pairwise`.
    
    This is useful when using pairwise for objective but ndcg for metric.
    
    - Add default configuration in pairwise to pass the `ndcg_exp_gain` to metrics.
    trivialfis committed Mar 8, 2024
    Configuration menu
    Copy the full SHA
    c8c7ae8 View commit details
    Browse the repository at this point in the history
  2. test.

    trivialfis committed Mar 8, 2024
    Configuration menu
    Copy the full SHA
    fdfbbf9 View commit details
    Browse the repository at this point in the history