What is Gradient boosting?
In Turkish: Gradyan artırma (XGBoost) · Topic: Math foundations
An ensemble method that adds small decision trees one after another, with each new tree trying to correct the errors of the ones before it. XGBoost is a fast, widely used implementation of the idea.
How does it work?
The process starts with a simple prediction. The model then measures how far its predictions are from the true values and works out the direction that would reduce that error, which is the gradient. A new small tree is trained to learn exactly those remaining errors and is added to the model with a small weight. This repeats hundreds of times, and each round closes the gap a little more. It resembles a golfer adjusting each shot according to the distance the ball still has to travel. Unlike a random forest, the trees are built in sequence rather than independently.
Why does it matter?
On tabular data, gradient boosting methods have long been among the strongest options and are popular in data science competitions. They are common in business uses such as fraud detection, credit scoring and demand forecasting. Even though language and image models get most of the attention, these methods carry a large share of companies' everyday prediction work.
Example
An online store could train an XGBoost model to predict whether a customer will return an order.
FAQ
What is the difference between gradient boosting and a random forest?
In a random forest the trees are built independently and their predictions are combined. In gradient boosting the trees are built one after another, and each focuses on fixing the mistakes of the earlier ones.
Is XGBoost the same as gradient boosting?
Not exactly. Gradient boosting is the method, while XGBoost is a fast, tunable software implementation of it. Similar libraries such as LightGBM and CatBoost also exist.