Classical Machine Learning
Frame defensible prediction problems, implement central model families, and turn evaluation evidence into bounded decisions.
5 sections · 42 units · about 145 hours
- Unit of observation, prediction time and label horizon3h
- Targets, losses, metrics, decision rules and problem framing3h
- Split design, nested selection and test isolation4h
- Leakage: target, future, entity, duplicate, preprocessing and feedback4h
- Schema, provenance, missingness, duplicate and availability audits3h
- Training-only imputation, scaling, encoding and learned state3h
- Baselines: constant, frequency, heuristic, last-value and simple learned3h
- Snapshots, lineage, pipeline serialization and serving parity3h
- Least squares: residuals, normal equations and stable solvers4h
- Conditioning, basis expansions, ridge, lasso and elastic net5h
- Logistic regression and stable binary cross-entropy4h
- Softmax regression and one-versus-rest3h
- Residual, leverage, separation and misspecification diagnostics3h
- LDA, QDA and generative versus discriminative classifiers4h
- Naive Bayes: event models, smoothing and log-space scoring3h
- Probability estimates, class priors and asymmetric thresholds2h
- CART: split objectives, impurity, stopping and pruning5h
- Bagging, random forests and out-of-bag estimates3h
- AdaBoost and gradient boosting5h
- XGBoost, LightGBM and CatBoost configuration2h
- k-nearest neighbors, search cost and the curse of dimensionality3h
- Support vector machines: margins, hinge loss and slack4h
- Kernels, bandwidth and kernel matrix cost3h
- Feature importance caveats and class weighting effects3h
- Numeric transforms and categorical encoding4h
- Interactions, feature selection and fit-state serialization4h
- PCA via SVD: directions, explained variance and sign ambiguity5h
- k-means: objective, initialization, empty clusters and instability4h
- Gaussian mixtures and EM3h
- DBSCAN, agglomerative clustering and cluster validation4h
- Outlier and novelty detection, thresholds and representation3h
- t-SNE and UMAP as guarded exploratory views2h
- Holdout, cross-validation and resampling by the right unit3h
- Regression error and confusion-matrix metrics3h
- ROC AUC, average precision, log loss and Brier score3h
- Calibration curves and Platt or isotonic recalibration4h
- Cost-sensitive thresholds, imbalance and prevalence change4h
- Paired bootstrap, permutation tests and multiplicity4h
- Learning curves, error taxonomies and slices3h
- Permutation importance and partial dependence3h
- Covariate, label and concept shift, drift and label delay4h
- Ablations, negative controls, threats to validity and decision memos3h
Final project: Classical ML Investigation Pack
Complete one compact investigation on a controlled structured dataset. Three artifacts are enough to show formulation, mechanism fluency and decision quality without collecting unrelated notebooks.
- Contract and leakage pack - prediction contract, immutable manifest, split builder, schema and availability tests, two naive baselines, and one preserved leakage failure with its repair
- Classical mechanisms suite - tested NumPy implementations of regularized linear or logistic regression, naive Bayes, a deterministic tree core plus one ensemble, kNN or a small kernel model, PCA and k-means
- Decision dossier - locked model budget, raw predictions, paired uncertainty, calibration and threshold policy where relevant, slices, error analysis, one shift or failure injection, a negative result and a bounded next decision
How it's graded · about 8 to 12 hours
Contract and leakage pack
Pass: The section 1 mini-project meets Pass on every criterion.
Great: It meets Strong on leakage and lineage, and one command runs every audit.
Classical mechanisms suite
Pass: Tested NumPy implementations of a regularized linear or logistic model, naive Bayes, a deterministic tree core with one ensemble, kNN or a small kernel model, PCA and k-means, each checked against an independent oracle.
Great: One test command runs the whole suite, and every mechanism has property tests over seeds and shapes.
Decision dossier
Pass: The section 5 mini-project meets Pass on every criterion, on the same controlled dataset as the contract pack.
Great: It includes one injected failure from the contract pack and shows the audit catching it before the comparison runs.
Rebuild from a clean clone
Pass: A README lists the commands that rebuild each artifact.
Great: One script rebuilds every reported number on a laptop CPU, with its run time stated.
Honest limits
Pass: Each artifact states what its compact dataset and models cannot show.
Great: Each limit names the later stage or track that addresses it.