Machine Learning Calculators
Gradient descent trajectories, classification confusion metrics, activation gradients, and Transformer scaled dot-product self-attention.
Machine Learning Formula Sheet
- Gradient Descent & Momentum: Inspect how learning rate and momentum traverse convex and non-convex loss landscapes.
- Classification Metrics & Confusion Matrix: Compute accuracy, precision, recall, F1, specificity, and MCC from TP/FP/FN/TN counts.
- Activation Functions & Derivatives: Compare Sigmoid, Tanh, ReLU, Leaky ReLU, GELU, and Swish outputs alongside their gradients.
- Transformer Self-Attention & Softmax: Compute scaled dot-product attention softmax(QK^T / (tau sqrt(d_k))) V with causal vs. bidirectional masking, temperature entropy, and attention heatmaps.