🧠 Core Mathematical Foundations

Interactive Machine Learning Laboratory

Explore statistical machine learning algorithms, decision surfaces, and neural activation functions through real-time geometric visualizers. 100% client-side with interactive parameter controls, residual error lines, and mathematical derivations.

12 Flagship Tools
4 Pillars
Desmos-Style Interactivity
All Tools (12) 📈 Regression 🎯 Classification ⚡ Neural Nets 🔄 Optimizers 📊 Clustering
🔍
ML 01 📈 Regression Studio

Linear Regression Calculator & OLS Residuals Engine

Desmos-style point clicker with live residual bars, R² determination gauge, and OLS fit.

y = mx + b \quad \Big| \quad m = \frac{\sum_{i=1}^n (x_i - \bar{x})(y_i - \bar{y})}{\sum_{i=1}^n (x_i - \bar{x})^2}, \quad b = \bar{y} - m\bar{x}
Launch Simulation ↗
ML 02 🎯 Classification & Boundaries

Logistic Regression & Decision Boundary Classifier

Interactive 2D decision boundary with Sigmoid probability heatmap and live Confusion Matrix.

P(y=1|\mathbf{x}) = \sigma(\mathbf{w}^T\mathbf{x} + b) = \frac{1}{1 + e^{-(\mathbf{w}^T\mathbf{x} + b)}} \quad \Big| \quad \text{Logit: } \ln\left(\frac{p}{1-p}\right) = \mathbf{w}^T\mathbf{x} + b
Launch Simulation ↗
ML 03 ⚡ Neural Activations & Gradients

Neural Activation Functions & Vanishing Gradient Lab

Multi-curve coordinate grapher with real-time derivative curves and vanishing gradient tracer.

\sigma(x) = \frac{1}{1 + e^{-x}}, \quad \tanh(x) = \frac{e^x - e^{-x}}{e^x + e^{-x}}, \quad \text{ReLU}(x) = \max(0, x)
Launch Simulation ↗
ML 04 🎯 Classification & Boundaries

Softmax Function, Logits & Multi-Class Probability Engine

Interactive Logits sliders with live normalized probability distribution and temperature scaling.

S(z_i) = \frac{e^{z_i / \tau}}{\sum_{j=1}^K e^{z_j / \tau}} \quad \text{where} \quad \sum_{i=1}^K S(z_i) = 1.0
Launch Simulation ↗
ML 05 📈 Regression Studio

Multiple Linear Regression 3D Hyperplane Visualizer

3D rotatable scatter plot with 2 feature axes, target dimension, and fitted OLS regression plane.

\hat{\mathbf{y}} = \mathbf{X}\boldsymbol{\beta} = \mathbf{X}(\mathbf{X}^T\mathbf{X})^{-1}\mathbf{X}^T\mathbf{y} \quad \Big| \quad \hat{y} = \beta_0 + \beta_1 X_1 + \beta_2 X_2
Launch Simulation ↗
ML 06 🔄 Gradient Flow & Optimizers

Backpropagation Chain Rule & Gradient Flow Tracer

Trace forward activation waves and reverse backward gradient pulses through multi-layer perceptrons.

\frac{\partial \mathcal{L}}{\partial w_{ij}^{[l]}} = \delta_j^{[l]} \cdot a_i^{[l-1]} \quad \text{where} \quad \delta_j^{[l]} = \sum_k \delta_k^{[l+1]} w_{jk}^{[l+1]} \cdot \sigma'\left(z_j^{[l]}\right)
Launch Simulation ↗
ML 07 📊 Clustering & Manifolds

K-Means Clustering & Centroid Convergence Simulator

Iterative Euclidean distance partition with Lloyd algorithm convergence and live inertia gauge.

J = \sum_{k=1}^{K} \sum_{x \in S_k} ||x - \mu_k||^2 \quad \Big| \quad \mu_k^{(t+1)} = \frac{1}{|S_k|} \sum_{x \in S_k} x
Launch Simulation ↗
ML 08 🎯 Classification & Boundaries

Support Vector Machine (SVM) & Maximum Margin Hyperplane

Interactive decision boundary with support vectors, margin street corridors, and slack variables.

\min_{w,b,\xi} \frac{1}{2} ||w||^2 + C \sum_{i=1}^{N} \xi_i \quad \text{s.t.} \quad y_i(w^\top x_i + b) \ge 1 - \xi_i, \quad \xi_i \ge 0
Launch Simulation ↗
ML 09 📊 Clustering & Manifolds

Principal Component Analysis (PCA) & Eigenvector Projector

Covariance decomposition with orthogonal eigenvector projection and real-time explained variance ratio.

\Sigma v = \lambda v, \quad \Sigma = \frac{1}{n-1} X^\top X \quad \Big| \quad \text{Explained Ratio: } \frac{\lambda_1}{\sum \lambda_i}
Launch Simulation ↗
ML 10 🎯 Classification & Boundaries

Decision Tree Classifier & Recursive Partitioning Studio

Orthogonal boundary slicing with real-time Shannon entropy reduction and tree depth thresholding.

H(S) = - \sum_{i=1}^{c} p_i \log_2(p_i) \quad \Big| \quad IG(S, A) = H(S) - \sum_{v \in \text{Vals}(A)} \frac{|S_v|}{|S|} H(S_v)
Launch Simulation ↗
ML 11 ⚡ Neural Activations & Gradients

Neural Network Forward Propagation & Multi-Layer Firing Engine

Dynamic forward activation cascading through multi-layer weight matrices with real-time firing thresholds.

z^{[l]} = W^{[l]} a^{[l-1]} + b^{[l]} \quad \Big| \quad a^{[l]} = g(z^{[l]}) \quad \Big| \quad \hat{y} = \sigma(z^{[L]})
Launch Simulation ↗
ML 12 🎯 Classification & Boundaries

Random Forest Ensemble & Majority Voting Matrix

Bootstrap aggregation (bagging) visualizer showing individual tree variance reduction through consensus voting.

\hat{y}_{\text{ensemble}} = \operatorname{mode}\{T_1(x), \dots, T_B(x)\} \quad \Big| \quad \operatorname{Var}(\bar{T}) = \rho \sigma^2 + \frac{1-\rho}{B} \sigma^2
Launch Simulation ↗