Home▸Computer Science▸Data Cleaning and Regression Pipeline Lab, 2D

Data Cleaning and Regression Pipeline Lab, 2D

The same data-cleaning experiment in two flat views: z against x with the fitted line, the true line and the raw-table line, and below it the residuals against the fitted value with the Tukey fence next to the coefficients before and after cleaning. Same numbers and checks as the 3D version.

Computer Science2DModerate60 FPS📱 Mobile-adapted🟠 Blender⇄ 3D version
Data Cleaning and Regression Pipeline Lab, 2D ↗ Open standalone

A 60-row table (x, y, z) is generated from a known plane z = 0.6x - 0.4y + 0.5 plus noise, then damaged with missing y values, exact duplicate rows and outliers. Choose how to repair it (drop duplicates, drop or mean/median-fill missing y, Tukey fence on the residuals) and watch the least-squares plane in a Blender-modelled brass cage morph from the fit on the raw table to the fit after your pipeline. Because the truth is known, the error of every fit is measured. Nine independent checks cover QR against the normal equations, orthogonal residuals, the R2 identity, exact recovery, quartiles, a 300-table Monte Carlo of the standard error and the closed form of the truth error.

⚙ Under the hood

The same data-cleaning experiment in two flat views: z against x with the fitted line, the true line and the raw-table line, and below it the residuals against the fitted value with the Tukey fence next to the coefficients before and after cleaning. Same numbers and checks as the 3D version.

Data AnalysisData CleaningRegressionLeast SquaresImputationOutliersStatistics

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)