Related simulators
Continue with similar topics in this category — or all 85 in Math Visualization.
Linear Regression: OLS, Ridge, Lasso & R²
Click/drag scatter points; fit y = β₀ + β₁x with OLS, Ridge (L2 on slope), or Lasso (L1 on slope). Spike Δy on the largest |x| point to see outlier sensitivity; compare SSE and R².
Savitzky–Golay Smoothing
Noisy cosine vs SG(7,2) convolution — preserves peaks better than a wide boxcar.
K-Means Clustering (Lloyd)
Click to add points, choose k, randomize centroids, then step Lloyd iterations (assign to nearest centroid, update means). Optional Gaussian-mixture demo; watch within-cluster SSE decrease.
2×2 Matrix & Eigenvectors
Grid deformation under M; real λ eigen-direction arrows.
Lotka–Volterra
N′ = αN−βNP, P′ = δNP−γP; phase plane RK4; equilibrium dot.
Random Walk
1D or 2D steps; trail and running mean ⟨r²⟩ vs diffusion intuition.