I basically want to know what that parameter is and what kind of input it takes. I want to understand how to use it in different cases.
I basically want to know what that parameter is and what kind of input it takes. I want to understand how to use it in different cases.
According to the official doc,
label_gain, default=0,1,3,7,15,31,63,..., type=multi-double
ā used in lambdarank, relevant gain for labels. For example, the gain of label 2 is 3 if using default label
gains.
ā Separate by ,
So essentially if your data has multiple labels, each label will correspond to a different gain value in the optimization process, specified by this list.