xgb_theory.pdf