Custom obj with weights
I’ve checked custom obj for the logregobj in docs and results are poorest than binary:logitraw with Higgs data.(in 8 folds CV AUC 0.93 vs 0.935, consistent over a grid of parameters) I think binary:logitraw should be the same that logregobj. Do you think the difference could be related with the bug in obj / eval you detected? Other explain?
tqchen answer: In higgs, you want to do weight aware objective function. Each instances is have a weight. The build-in logitraw takes that into consideration, also there is a scale_pos_weight which rescale the weight of positive examples. So the simple example is not same as logitraw in this case. It is consistent in other cases where you do not have weight, for example the mushroom dataset as illustrated
So then there isn’t a way to pass the weights to a custom function? Could I use ‘getinfo’ for obtain the weights from the function and rescaled them in any way?
tqchen answer: Yes you can use getinfo to get weight. I am not sure about adaboost loss you mentioned. I guess if you can write the loss down, it could be possible you write an instance weighted version. As long as you can define gradient, you can customize it.