I tried a custom ranking objective function for LGBMRanker but LGBMRanker does not call the custom loss function with the group argument, which is mandatory for learning to rank. import lightgbm as ...