Uma Mahesh

Uma Mahesh

Author is working as an Architect in a reputed software company. He is having nearly 21+ Years of experience in web development using Microsoft Technologies.

Bagging in Python from Scratch

A single decision tree trained on your full dataset is highly sensitive to the training data: change a few rows and the tree changes completely. Bagging — Bootstrap Aggregating — fixes this by training many trees on independently sampled versions…

Why Boosting Often Resists Overfitting

Training a 1,000-round AdaBoost model to zero training error sounds like a recipe for catastrophic overfitting. Classical statistical learning theory — which ties generalisation error to model complexity — would predict a massive generalisation gap. But empirically, AdaBoost trained to…