Gradient Boosting Prediction Calculator

Combine base estimates, learning rates, and tree outputs to calculate gradient boosting predictions, probabilities, errors, contribution histories, and downloadable reports instantly online with confidence.

Prediction inputs

Allowed range: greater than 0 through 1.
Optional. Binary mode accepts only 0 or 1.

Tree outputs

TreeLeaf outputLearning rateWeight
1
2
3
4
5
Separate labels with commas.
Enter one tree per line and one output per class.

Formula used

Regression:
ŷ = F₀(x) + Σ[ηₘ × wₘ × hₘ(x)]
Binary classification:
F(x) = F₀(x) + Σ[ηₘ × wₘ × hₘ(x)]
P(y = 1) = 1 ÷ (1 + e−F(x))
Multiclass classification:
Fk(x) = F0,k(x) + Σ[ηₘ × wₘ × hm,k(x)]
Pk = eFk ÷ Σ eFj

How to use the calculator

  1. Select regression, binary classification, or multiclass classification.
  2. Enter the model’s base estimate, raw score, or base probabilities.
  3. Supply the global learning rate and sequential tree outputs.
  4. Enable per-tree rates or weights when your model uses them.
  5. Add an actual target or class to calculate error metrics.
  6. Submit the form, inspect staged results, and export the report.

Example data

ModeBase valueLearning rateTree outputsExpected output type
Regression100.102.0, −1.0, 0.510.15 numeric prediction
Binary0 raw score0.100.8, 0.4, −0.2Probability and class label
Multiclass0, 0, 00.10One three-value vector per treeSoftmax probabilities

Frequently asked questions

What is a gradient boosting prediction?

It combines a base estimate with many small tree corrections. Each tree updates the running score sequentially. The final score becomes the model prediction.

What does the learning rate do?

The learning rate shrinks every tree contribution. Smaller values usually produce more gradual updates. They often require additional boosting trees.

Can tree outputs be negative?

Yes, negative outputs reduce the current prediction score. Positive outputs increase the score instead. Both directions are normal in boosting.

What is the binary raw score?

It is the additive score before logistic transformation. It is often called a logit. The sigmoid converts it into probability.

How is a class selected?

Binary mode compares probability with your threshold. Multiclass mode selects the largest softmax probability. Labels make the decision easier to read.

Why use per-tree learning rates?

Some custom ensembles apply different shrinkage values. Standard libraries usually use one global rate. This option supports advanced manual calculations.

What does a tree weight represent?

A weight scales one tree before accumulation. A value of one changes nothing. Other values increase or reduce its influence.

Which error metrics are included?

Regression provides residual, absolute error, and squared error. Classification can calculate probability residuals and log loss. Actual values remain optional.

Does this calculator train a model?

No, it evaluates supplied boosting outputs only. Training requires data and tree-fitting algorithms. Use this tool for checking model calculations.

Related Calculators

Decision Tree Entropy CalculatorInformation Gain CalculatorGini Impurity CalculatorDecision Tree Split CalculatorRandom Forest Voting CalculatorAdaBoost Weight CalculatorXGBoost Gain CalculatorBagging Sample CalculatorDecision Tree Splitting QuizGini Impurity Quiz

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.