Visitor Action: Click anywhere on the plane to drop a data point or drag existing points. Drag the Gradient Descent scrubber to update weights $(w_1, w_2, b)$ in real-time.
# Python / NumPy vectorized dot product
def predict(X, W, b):
# X shape: (N, 2), W shape: (2, 1)
z = np.dot(X, W) + b
return 1 / (1 + np.exp(-z))
$\hat{y} = \sigma(\mathbf{w}^T \mathbf{x} + b)$
$\sigma(z) = \frac{1}{1 + e^{-z}}$
Inner product computes projection onto separating hyperplane.
Vectors, matrix transformations, dot products, projection, eigenvalues/eigenvectors, and singular value decomposition (SVD) intuition for embeddings.
Derivatives, partial gradients, multivariable chain rule, learning rate schedule, backpropagation formulation, and loss function landscapes.
Random variables, probability density, Bayes' theorem, maximum likelihood estimation (MLE), hypothesis testing, and confidence intervals.
Feature engineering, cross-validation, hyperparameter tuning with GridSearchCV, end-to-end classification pipeline, and model serialization (ONNX/joblib).
- W1-3 Project: Build a custom 2D vector matrix multiplication engine from scratch without NumPy.
- W4-6 Project: Code mini-batch gradient descent optimizer and visualize loss curve convergence.
- W7-9 Project: Spam filter using Naive Bayes classifier & log-likelihood scoring.
- W10-12 Project: Full production customer churn / purchase intent predictor deployed via FastAPI.