Calculation Results
Results appear here after calculation.
| # | Sample | Actual | Predicted | Status | Current weight | Multiplier | Raw new weight | Normalized weight | Change | Change % |
|---|---|---|---|---|---|---|---|---|---|---|
| No calculated rows. | ||||||||||
Weight Distribution
Detailed Output
No results yet.
Formula Used
How to Use
- Select binary AdaBoost or multiclass SAMME.
- Enter actual labels, predictions, and current weights.
- Choose automatic or manual weighted error.
- Set learning rate, clipping, precision, and normalization.
- Select Calculate to update every sample weight.
- Commit a round to build a boosting history.
- Use the ensemble section for final weighted predictions.
Worked Example
| Sample | Actual | Predicted | Initial weight | Classification |
|---|---|---|---|---|
| A | 1 | 1 | 0.20 | Correct |
| B | 1 | -1 | 0.20 | Incorrect |
| C | -1 | -1 | 0.20 | Correct |
| D | -1 | -1 | 0.20 | Correct |
| E | 1 | 1 | 0.20 | Correct |
The weighted error is 0.20. Binary alpha is approximately 0.693147. The misclassified sample gains greater relative importance.
Frequently Asked Questions
What does alpha represent?
Alpha measures a weak learner’s influence. Larger positive values create stronger ensemble votes.
Why are misclassified samples increased?
AdaBoost focuses later learners on difficult observations. Their relative weights therefore become larger.
What happens when error equals 0.5?
A binary learner performs like random guessing. Its calculated influence approaches zero.
Can alpha become negative?
Yes. This occurs when binary weighted error exceeds one-half.
Why clip weighted error?
Clipping prevents logarithms of zero. It also limits extreme numerical values.
What is SAMME?
SAMME extends discrete AdaBoost to multiclass classification. It includes the class-count correction term.
Must weights sum to one?
Normalized weights usually sum to one. The weighted error ratio still works with positive unnormalized weights.
What does effective sample size show?
ESS estimates how concentrated the weight distribution is. Smaller values indicate stronger concentration.
Can I simulate several rounds?
Yes. Commit a round, change predictions, and reuse updated weights.