In the optimization tab, there are two options for entering 'Objective/Constraints': 'Simple Python Expression' and 'Custom Python'. Upon selecting 'Custom Python' the user is directed to create a ...
The python implementation of this objective function, meeting the requirements of Fresa which are to return the objective function value and the violation of constraints, follows: ...
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 ...