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

0/42
Start hereUnit of observation, prediction time and label horizon
1Formulation, Data Contracts & Baselines0 of 8 passed · project: Bike demand contract, split, audits and baseline ladder
  1. Unit of observation, prediction time and label horizon3h
  2. Targets, losses, metrics, decision rules and problem framing3h
  3. Split design, nested selection and test isolation4h
  4. Leakage: target, future, entity, duplicate, preprocessing and feedback4h
  5. Schema, provenance, missingness, duplicate and availability audits3h
  6. Training-only imputation, scaling, encoding and learned state3h
  7. Baselines: constant, frequency, heuristic, last-value and simple learned3h
  8. Snapshots, lineage, pipeline serialization and serving parity3h
2Linear & Probabilistic Prediction0 of 8 passed · project: Linear and probabilistic models from scratch, with two failure diagnoses
  1. Least squares: residuals, normal equations and stable solvers4h
  2. Conditioning, basis expansions, ridge, lasso and elastic net5h
  3. Logistic regression and stable binary cross-entropy4h
  4. Softmax regression and one-versus-rest3h
  5. Residual, leverage, separation and misspecification diagnostics3h
  6. LDA, QDA and generative versus discriminative classifiers4h
  7. Naive Bayes: event models, smoothing and log-space scoring3h
  8. Probability estimates, class priors and asymmetric thresholds2h
3Trees, Ensembles, Neighbors & Kernels0 of 8 passed · project: Tree core, one neighbor or kernel mechanism, and a family-choice defense
  1. CART: split objectives, impurity, stopping and pruning5h
  2. Bagging, random forests and out-of-bag estimates3h
  3. AdaBoost and gradient boosting5h
  4. XGBoost, LightGBM and CatBoost configuration2h
  5. k-nearest neighbors, search cost and the curse of dimensionality3h
  6. Support vector machines: margins, hinge loss and slack4h
  7. Kernels, bandwidth and kernel matrix cost3h
  8. Feature importance caveats and class weighting effects3h
4Features, Representation & Unsupervised Learning0 of 8 passed · project: Feature pipeline, PCA and clustering with invariant-aware tests
  1. Numeric transforms and categorical encoding4h
  2. Interactions, feature selection and fit-state serialization4h
  3. PCA via SVD: directions, explained variance and sign ambiguity5h
  4. k-means: objective, initialization, empty clusters and instability4h
  5. Gaussian mixtures and EM3h
  6. DBSCAN, agglomerative clustering and cluster validation4h
  7. Outlier and novelty detection, thresholds and representation3h
  8. t-SNE and UMAP as guarded exploratory views2h
5Evaluation, Uncertainty, Shift & Decisions0 of 10 passed · project: Frozen comparison and decision dossier
  1. Holdout, cross-validation and resampling by the right unit3h
  2. Regression error and confusion-matrix metrics3h
  3. ROC AUC, average precision, log loss and Brier score3h
  4. Calibration curves and Platt or isotonic recalibration4h
  5. Cost-sensitive thresholds, imbalance and prevalence change4h
  6. Paired bootstrap, permutation tests and multiplicity4h
  7. Learning curves, error taxonomies and slices3h
  8. Permutation importance and partial dependence3h
  9. Covariate, label and concept shift, drift and label delay4h
  10. 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.