I’m in the process of researching moving off of a fork of XGboost to try and move onto vanilla XGboost. The primary thing that is holding me up is that in this fork a getter has been added to Scala DMatrix so that the custom objectives function and eval functions can use group info in their calculations. In the C-code for ranking, the group is accessed by a pointer, but there doesn’t seem to be a way to get this info from the Scala DMatrix.
Is there a canonical way to get group info from a DMatrix in the Scala wrapper of XGboost that I am missing?