🧠 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 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 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 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 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 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 ↗