Related simulators
Continue with similar topics in this category — or all 85 in Math Visualization.
Decision Tree Classifier (2D toy)
Greedy axis-aligned splits on a click-labeled scatter: compare **Gini** vs **entropy** impurity, max depth, and min-samples-per-leaf; shaded rectangles show leaf decisions, dashed lines show recursive partitions.
Gradient Descent (2D)
Level sets of f(x,y) and path (x,y) ← (x,y) − η∇f; bowl or elliptic well.
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.
Convex Hull (Graham & QuickHull)
Click to add points, drag to move; Graham scan with step playback or QuickHull divide-by-farthest; compare vertex sets.
Logistic Growth
dN/dt = rN(1−N/K); exact S-curve vs carrying capacity K.
Conjugate Gradient Solver
SPD system Ax=b as quadratic minimization: contour geometry, CG vs steepest descent path, residual norm, and condition number.