| Mini-Batch Logistic Regression with L2 Regularization Python 3Gradient DescentRegularizationClassification | ML Scratch | Medium | GoogleMetaStripe | — |
| Exact ROC-AUC & Average Precision (PR-AUC) From Scratch Python 3Evaluation MetricsROC-AUCPR-AUC | ML Scratch | Easy | GoogleStripeMeta | — |
| K-Means++ Clustering with Convergence & Empty-Cluster Recovery Python 3Unsupervised LearningK-Means++Clustering | ML Scratch | Medium | UberAirbnbAmazon | — |
| Numerically Stable Sigmoid & Analytical Derivative Python 3ActivationsNumerical StabilityGradients | ML Scratch | Easy | GoogleMetaOpenAI | — |
| Numerically Stable Softmax (1D & Batched ND) Python 3SoftmaxNumerical StabilityBroadcasting | ML Scratch | Easy | OpenAIAnthropicGoogle | — |
| Numerically Stable Log-Softmax (Log-Sum-Exp Trick) Python 3Log-Sum-ExpNumerical StabilityCross-Entropy | ML Scratch | Easy | AnthropicMetaGoogle DeepMind | — |
| ReLU, Leaky ReLU & Tanh-Approximated GELU + Gradients Python 3ActivationsGELUBackpropagation | ML Scratch | Easy | OpenAINVIDIAMeta | — |
| SiLU (Swish) & SwiGLU Gated Feed-Forward Layer Python 3SwiGLUSiLUTransformers | ML Scratch | Easy | MetaGoogle DeepMindAnthropic | — |
| MSE, MAE & Huber Loss with Analytical Gradients Python 3Regression LossesHuber LossOutliers | ML Scratch | Easy | UberAirbnbDoorDash | — |
| Binary Cross-Entropy With Logits (Numerically Stable) Python 3BCE LossLogitsNumerical Stability | ML Scratch | Easy | StripeMetaGoogle | — |
| Multiclass Cross-Entropy Loss From Logits + Gradient Python 3Cross-EntropyLog-SoftmaxGradients | ML Scratch | Easy | OpenAIGoogleApple | — |
| Shannon Entropy, Cross-Entropy & KL Divergence Python 3Information TheoryKL DivergenceRLHF | ML Scratch | Easy | AnthropicGoogle DeepMindMeta | — |
| L1, L2 & ElasticNet Regularization Penalty + Subgradient Python 3RegularizationElasticNetSubgradients | ML Scratch | Easy | GoogleAmazonStripe | — |
| Vectorized Pairwise Euclidean & Manhattan Distance Matrices Python 3VectorizationBroadcastingDistance Metrics | ML Scratch | Easy | UberMetaAmazon | — |
| Batched Cosine Similarity Matrix (Zero-Norm Safe) Python 3EmbeddingsCosine SimilarityRAG | ML Scratch | Easy | OpenAICoherePinterest | — |
| StandardScaler (fit / transform / inverse_transform) With Constant-Column Guard Python 3PreprocessingData LeakageScaling | ML Scratch | Easy | AmazonAirbnbDoorDash | — |
| Min-Max & Robust IQR Feature Scalers From Scratch Python 3Feature ScalingIQROutliers | ML Scratch | Easy | StripeUberNetflix | — |
| One-Hot Encoder With Unseen Category Handling Python 3Feature EngineeringCategorical EncodingNumPy | ML Scratch | Easy | MetaAmazonInstacart | — |
| Ordinary Least Squares (OLS) via SVD Pseudoinverse Python 3Linear RegressionOLSSVD | ML Scratch | Easy | AmazonGoogleDoorDash | — |
| Ridge Regression Closed-Form (Unpenalized Intercept) Python 3Ridge RegressionL2 RegularizationLinear Algebra | ML Scratch | Easy | GoogleAmazonApple | — |
| Batch Gradient Descent for Linear Regression With Early Stopping Python 3Gradient DescentConvergenceLinear Regression | ML Scratch | Easy | MetaUberSnap | — |
| SGD Optimizer With Classical & Nesterov Momentum Python 3OptimizersMomentumNesterov | ML Scratch | Easy | MetaNVIDIAOpenAI | — |
| Adam Optimizer With Bias-Corrected Moments (Step-by-Step) Python 3AdamOptimizersBias Correction | ML Scratch | Easy | OpenAIAnthropicGoogle DeepMind | — |
| Vectorized K-Nearest Neighbors (KNN) Classifier With Tie-Break Python 3KNNVectorizationTie-Breaking | ML Scratch | Easy | MetaAppleAmazon | — |
| Gaussian Naive Bayes Classifier (Log-Likelihood Stability) Python 3Naive BayesProbabilistic ModelsLog-Likelihood | ML Scratch | Easy | GoogleLinkedInAmazon | — |
| Binary Perceptron Learning Algorithm From Scratch Python 3PerceptronLinear ClassifiersOnline Learning | ML Scratch | Easy | AppleAmazonMicrosoft | — |
| Optimal 1-Split Decision Stump (Gini Impurity Gain) Python 3Decision TreesGini ImpurityTree Splits | ML Scratch | Easy | MetaDoorDashStripe | — |
| Linear SVM With Soft-Margin Hinge Loss & L2 Subgradient Python 3SVMHinge LossSubgradients | ML Scratch | Easy | GoogleSnapAmazon | — |
| Binary Confusion Matrix, Precision, Recall, Specificity & F1 Score Python 3Classification MetricsF1 ScoreZero Division | ML Scratch | Easy | StripeMetaAmazon | — |
| Multiclass Macro, Micro & Weighted F1 Score Python 3Multiclass MetricsMacro F1Micro F1 | ML Scratch | Easy | GoogleLinkedInAirbnb | — |
| Regression Metrics: RMSE, R², Adjusted R² & Safe MAPE Python 3Regression MetricsAdjusted R2MAPE | ML Scratch | Easy | AirbnbUberDoorDash | — |
| Deterministic Stratified Train/Test Split From Scratch Python 3Data SplittingStratificationClass Imbalance | ML Scratch | Easy | MetaStripeGoogle | — |
| Deterministic K-Fold & Stratified K-Fold CV Splitter Python 3Cross-ValidationK-FoldStratification | ML Scratch | Easy | GoogleAmazonNetflix | — |
| Sample Covariance & Pearson Correlation Matrix From Scratch Python 3Linear AlgebraCovariancePearson Correlation | ML Scratch | Easy | Jane StreetGoogleMeta | — |
| Principal Component Analysis (PCA) via SVD & Explained Variance Python 3PCASVDDimensionality Reduction | ML Scratch | Easy | GoogleNVIDIAAmazon | — |
| Dominant Eigenvalue & Eigenvector via Power Iteration Python 3EigenvaluesPower IterationPageRank | ML Scratch | Easy | GoogleNVIDIAGoogle DeepMind | — |
| Linear Warmup + Cosine Annealing LR Scheduler Python 3LLM TrainingLR ScheduleCosine Annealing | ML Scratch | Easy | OpenAIAnthropicMeta | — |
| Inverted Dropout Forward & Backward Pass (Train vs. Eval) Python 3DropoutRegularizationBackpropagation | ML Scratch | Easy | MetaOpenAIGoogle | — |