How can I change LGBMRegressor predictions so instead of calculating the average of the samples that fall in the leaf it will return median (or other metric).
I want it to be done only in predictions, I want the model to be train regularly with the averages, I cant use objective quantile.
Thank you