XGBoost Code Examples
This folder contains all the code examples using xgboost.
- Contribution of examples, benchmarks is more than welcome!
- If you like to share how you use xgboost to solve your problem, send a pull request:)
Features Walkthrough
This is a list of short codes introducing different functionalities of xgboost packages.
- Basic walkthrough of packages python R Julia
- Customize loss function, and evaluation metric python R Julia
- Boosting from existing prediction python R Julia
- Predicting using first n trees python R Julia
- Generalized Linear Model python R Julia
- Cross validation python R Julia
- Predicting leaf indices python R
Basic Examples by Tasks
Most of examples in this section are based on CLI or python version. However, the parameter settings can be applied to all versions
Benchmarks
Machine Learning Challenge Winning Solutions
- XGBoost helps Vlad Mironov, Alexander Guschin to win the CERN LHCb experiment Flavour of Physics competition. Check out the interview from Kaggle.
- XGBoost helps Mario Filho, Josef Feigl, Lucas, Gilberto to win the Caterpillar Tube Pricing competition. Check out the interview from Kaggle.
- XGBoost helps Halla Yang to win the Recruit Coupon Purchase Prediction Challenge. Check out the interview from Kaggle.