dmlc / dmlc/xgboost

How to set delta_metric to identity in pairwise objective

Open
#11,261 34 comments 0 reactions 0 assignees View on GitHub
feature-request
Dominant language
C++
Stars
28.8k
Forks
8.9k
Avg merge
1d 12h
Merged PRs (30d)
54

Description

delta_metric have been introduced from version 2 refactoring:
https://github.com/dmlc/xgboost/blob/600be4dbb54ec5cda4cb61a2bb8fc4bce6f3fc58/src/objective/lambdarank_obj.h#L111-L126

respect the way of computing gradient and hessians in 1.7 versions:
https://github.com/dmlc/xgboost/blob/36eb41c960483c8b52b44082663c99e6a0de440a/src/objective/rank_obj.cu#L876-L892

Where is defined delta and which is its default value in master version?

My cases of use don't need any delta function to overweight top elements of each query as I'm optimizing spearman correlation of the whole query.
I would like not use delta function to weight pairs.
Is possible disable it or set to identity function?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.