Home▸Data Science▸Huber Robust Regression: Iteratively Reweighted Least Squares, Outlier Leverage and Breakdown Limits

Huber Robust Regression: Iteratively Reweighted Least Squares, Outlier Leverage and Breakdown Limits

Fit a line through contaminated data with ordinary least squares and with the Huber loss. Push a fraction of the points far away, choose whether they sit at high leverage, change the threshold, and watch iteratively reweighted least squares pull the line back as outliers lose weight. A Blender-built plotting easel and rod balance, with estimating-equation, optimality and limit checks built in.

Data Science3DAdvanced60 FPS📱 Mobile-adapted🟠 Blender⇄ 2D version
Huber Robust Regression: Iteratively Reweighted Least Squares, Outlier Leverage and Breakdown Limits ↗ Open standalone

This simulator runs real genetic-programming symbolic regression against synthetic physical measurements — free-fall time versus drop height, pendulum period versus string length, or Kepler's third law relating orbital period to radius. A population of randomly built expression trees is scored by RMSE against noisy data, then evolved generation after generation through tournament selection, subtree crossover, and mutation. Every generation's best-fit curve is rendered at the front of a 3D tunnel while older generations recede and dim behind it, turning dozens of generations of evolutionary search into a single readable corridor that visibly narrows onto the true law as the run progresses.

⚙ Under the hood

Fit a line through contaminated data with ordinary least squares and with the Huber loss. Push a fraction of the points far away, choose whether they sit at high leverage, change the threshold, and watch iteratively reweighted least squares pull the line back as outliers lose weight. A Blender-built plotting easel and rod balance, with estimating-equation, optimality and limit checks built in.

symbolic regressiongenetic programmingdata sciencemachine learningphysics discoveryevolutionary algorithmRobust RegressionHuber LossIRLSOutliersLeverage

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)