Statistical Learning and Model Evaluation

  1. Conditional Probability, Base Rates, and Independence

    Compute a posterior probability in a device-monitoring example and identify which products require an independence assumption.

    Graduate
  2. Training, Validation, and Test Boundaries

    Separate parameter fitting, model selection, and final measurement, and split examples at the unit where future generalization matters.

    Graduate
  3. Data Leakage in Model Evaluation

    Identify information a model would lack at prediction time and prevent preprocessing and grouping choices from exposing it during evaluation.

    Graduate
  4. Cross-Validation and Model Selection Bias

    Compare fold estimates computed for a fixed pipeline with nested evaluation after a hyperparameter search.

    Graduate
  5. Bias and Variance Under Squared Error

    Expand expected prediction error at a fixed input and isolate the contributions from mean error, training variation, and outcome noise.

    Graduate
  6. Least Squares and the Geometry of Residuals

    Derive the orthogonality condition for the best linear fit and explain how rank affects which coefficients are identifiable.

    Graduate
  7. Ridge Regression and Directional Shrinkage

    Derive how a squared coefficient penalty changes the normal equations and shrink poorly determined feature directions more strongly.

    Graduate
  8. Lasso and Soft Thresholding

    Solve a one-dimensional penalized regression and see how the absolute-value penalty can set a coefficient exactly to zero.

    Graduate
  9. Logistic Regression and Log-Odds

    Map a linear score to a probability and interpret what one coefficient means with other feature values held fixed.

    Graduate
  10. Log Loss and Proper Probability Scoring

    Show why expected log loss favors a true probability and distinguish a probability forecast from a hard decision.

    Graduate
  11. Decision Tree Splits and Impurity Reduction

    Compute the weighted impurity after a split and distinguish an informative split from one that merely creates a small pure branch.

    Graduate
  12. Random Forests and Correlated Prediction Errors

    Derive how averaging correlated predictors reduces variance and explain why random feature choices can strengthen an ensemble.

    Graduate
  13. Gradient Boosting and Residual Fitting

    Build an additive predictor by fitting the next weak learner to a loss-derived update and control the impact of each stage.

    Graduate
  14. Kernel Matrices and Implicit Feature Maps

    Represent inner products of expanded features without storing them explicitly and verify a small polynomial feature map.

    Graduate
  15. Maximum-Margin Classification and Slack

    Express distance to a separating hyperplane and see how slack trades margin width against violations.

    Graduate
  16. Principal Components from Centered Data

    Derive the first principal direction from projected variance and recover all components through the singular value decomposition.

    Graduate
  17. K-Means and Alternating Minimization

    Prove that assignment and centroid updates each lower or preserve the squared-distance objective, then interpret initialization sensitivity.

    Graduate
  18. Cosine Similarity and Euclidean Ranking

    Derive the distance relationship for normalized vectors and identify when a nearest-neighbor ranking changes with the metric.

    Graduate
  19. Precision, Recall, and ROC Under Class Imbalance

    Compute precision from true and false positive rates and explain why prevalence changes the picture even with the same ranking quality.

    Graduate
  20. Probability Calibration and Reliability Curves

    Compare mean forecast probability with observed frequency in a held-out bin and account for sample size and distribution change.

    Graduate