How XGboost implement quantile regression


#1

Dear Community,

I want to leverage XGBoost to do quantile prediction- not only forecasting one value, as well as confidence interval. I noticed that this can be done easily via LightGBM by specify loss function equal to quantile loss, I am wondering anyone has done this via XGboost before? My guess is to do this via specify Grads/Hessian in Custom Objective Function, but not sure the right matrix to use here. Can someone help with this? Thanks!

Jackie


#2

Take a look at https://towardsdatascience.com/regression-prediction-intervals-with-xgboost-428e0a018b