Do you know what is GBM?

Rahul S
2 min readApr 20, 2023

Gradient Boosting Machines (GBMs) are a type of machine learning algorithm used for both regression and classification problems. They are a form of ensemble learning, which means that they combine the predictions of several individual models to produce a final prediction. GBMs can handle missing data and outliers.

Here is how GBMs work in detail:

  1. Decision trees: GBMs are based on decision trees, which are a type of model that consists of a set of binary decisions that split the input data into smaller subsets based on the values of input features. Decision trees are useful for identifying complex patterns in the data and can handle both categorical and continuous input features.
  2. Gradient boosting: GBMs use an iterative approach to improve the performance of decision trees. In each iteration, a new decision tree is trained to predict the errors of the previous tree. The algorithm then combines the predictions of all the decision trees to produce a final prediction.
  3. Gradient descent: GBMs use a technique called gradient descent to optimize the parameters of each decision tree. Gradient descent is an optimization algorithm that iteratively adjusts the parameters of the model to minimize a cost function, which measures the difference between the predicted and actual values.
  4. Regularization: GBMs can…

--

--