Reading path tasks

E · Essential develops core skills. R · Recommended adds practice in a broader setting. A · Advanced asks for more technical work.

Run each notebook’s setup, then complete the tasks on your route and their acceptance checks. Open the linked notebook and search for the task ID. For assigned coursework, follow the submission instructions.

Chapter 1

Book sectionDepthNotebook tasks
1.1 Define the prediction problem before selecting an algorithmE · EssentialW01-A-T1, W01-Case_Study-T1
1.2 Population risk, empirical risk and the best squared-error predictionE · EssentialW01-A-T2, W01-Case_Study-T1
1.3 Generalization requires a disciplined data lifecycleE · EssentialW01-A-T3, W01-Case_Study-T2, W01-Case_Study-T3
1.4 Dimensionality changes geometry and data requirementsR · RecommendedW01-B-T4
1.5 Bias, variance and inductive biasE · EssentialW01-B-T5, W01-Case_Study-T2

Chapter 2

Book sectionDepthNotebook tasks
2.1 Preprocessing is part of the fitted modelE · EssentialW02-A-T1, W02-Case_Study-T2
2.2 Least squares and its Gaussian likelihood interpretationE · EssentialW02-A-T2, W02-Case_Study-T1
2.3 Gradient descent as a discretized gradient flowE · EssentialW02-A-T3
2.4 Regularization controls the fitted solutionE · EssentialW02-B-T4, W02-Case_Study-T1, W02-Case_Study-T2
2.5 Report errors in a form the application can useE · EssentialW02-B-T5, W02-Case_Study-T3

Chapter 3

Book sectionDepthNotebook tasks
3.1 Logistic regression models a conditional probabilityE · EssentialW03-A-T1, W03-Case_Study-T1
3.2 Bernoulli likelihood leads to binary cross-entropyE · EssentialW03-A-T1
3.3 Confusion matrices and ranking metrics answer different questionsE · EssentialW03-A-T2, W03-A-T3, W03-Case_Study-T1, W03-Case_Study-T3
3.4 Thresholds connect predictions to decisionsE · EssentialW03-B-T4, W03-Case_Study-T2, W03-Case_Study-T3
3.5 Handle imbalance without rewriting the evaluation populationE · EssentialW03-B-T5, W03-Case_Study-T2

Chapter 4

Book sectionDepthNotebook tasks
4.1 Holdout, K-fold, stratification and leave-one-outE · EssentialW04-A-T1, W04-Case_Study-T1
4.2 Group and temporal splits must match the intended useE · EssentialW04-A-T2, W04-Case_Study-T1
4.3 The validation boundary surrounds the entire pipelineE · EssentialW04-A-T3, W04-Case_Study-T2
4.4 Search selects a model; nested validation evaluates that selectionR · RecommendedW04-B-T4, W04-Case_Study-T2
4.5 Uncertainty, reproducibility and the final test lockE · EssentialW04-A-E5, W04-B-T5, W04-Case_Study-T3

Chapter 5

Book sectionDepthNotebook tasks
5.1 Representations, scale, and numerical conditioningE · EssentialW05-A-E1, W05-Case_Study-T1
5.2 PCA as variance maximization and reconstructionE · EssentialW05-A-T1, W05-Case_Study-T1
5.3 Choosing dimension for reconstruction or predictionE · EssentialW05-A-T2, W05-B-T4, W05-Case_Study-T2, W05-Case_Study-T3
5.4 Partial least squares uses target informationR · RecommendedW05-A-T3, W05-B-T4, W05-Case_Study-T2
5.5 t-SNE is a neighborhood visualizationR · RecommendedW05-B-T5

Chapter 6

Book sectionDepthNotebook tasks
6.1 Nearest neighbors and the meaning of distanceE · EssentialW06-A-T1, W06-A-T3, W06-B-T5, W06-Case_Study-T2
6.2 Maximum margins and soft constraintsE · EssentialW06-A-E2, W06-A-T2, W06-Case_Study-T1, W06-Case_Study-T2
6.3 Duality, KKT conditions, and support vectorsA · AdvancedW06-A-T2, W06-Case_Study-T1
6.4 Kernels and nonlinear support-vector classificationR · RecommendedW06-A-T3, W06-Case_Study-T2
6.5 Support-vector regression and practical model choiceR · RecommendedW06-B-T4, W06-Case_Study-T3

Chapter 7

Book sectionDepthNotebook tasks
7.1 Regression trees as recursive partitionsE · EssentialW07-A-T1
7.2 Classification impurity and complexity controlE · EssentialW07-A-E2, W07-A-T2, W07-Case_Study-T2, W07-Case_Study-T3
7.3 Bagging and random forestsE · EssentialW07-A-T3, W07-Case_Study-T2
7.4 Gradient boosting follows the loss gradientE · EssentialW07-B-T4, W07-Case_Study-T2
7.5 Voting and leakage-free stackingR · RecommendedW07-B-T5

Chapter 8

Book sectionDepthNotebook tasks
8.1 K-means and alternating optimizationE · EssentialW08-A-T1, W08-Case_Study-T1
8.2 Evaluating cluster structure without inventing labelsE · EssentialW08-A-T2, W08-Case_Study-T2, W08-Case_Study-T3
8.3 Hierarchical clustering and linkage choicesR · RecommendedW08-A-T3
8.4 DBSCAN and density connectivityE · EssentialW08-B-T4
8.5 Anomaly scores, thresholds, and driftE · EssentialW08-B-T5, W08-Case_Study-T2, W08-Case_Study-T3

Chapter 9

Book sectionDepthNotebook tasks
9.1 Proper scores and probability informationE · EssentialW09-A-T1, W09-Case_Study-T2, W09-Case_Study-T3
9.2 Estimating and correcting calibrationE · EssentialW09-A-T2, W09-B-T5, W09-Case_Study-T1, W09-Case_Study-T2
9.3 Error slices and conditional reliabilityE · EssentialW09-A-T3, W09-B-T5, W09-Case_Study-T3
9.4 Interpreting predictive dependenceR · RecommendedW09-B-T4
9.5 Distribution shift and the limits of uncertainty guaranteesR · RecommendedSee the chapter reading map.

Chapter 10

Book sectionDepthNotebook tasks
10.1 A distribution over related function valuesE · EssentialW10-A-E1
10.2 RBF and Matérn kernels encode smoothnessE · EssentialW10-A-T1, W10-Case_Study-T1
10.3 Conditioning and interpreting posterior uncertaintyE · EssentialW10-A-T2, W10-Case_Study-T1, W10-Case_Study-T3
10.4 Active learning asks which label improves predictionE · EssentialW10-A-T3, W10-Case_Study-T2, W10-Case_Study-T3
10.5 Bayesian optimization asks where the objective is highE · EssentialW10-B-T4, W10-B-T5

Chapter 11

Book sectionDepthNotebook tasks
11.1 From documents to count vectorsE · EssentialW11-A-T1, W11-B-T4, W11-Case_Study-T1
11.2 TF-IDF reweights lexical evidenceE · EssentialW11-A-T2, W11-Case_Study-T1
11.3 Naive Bayes, logistic regression, and linear SVMsE · EssentialW11-A-T3, W11-Case_Study-T2
11.4 Optional bridge: fixed pretrained representationsR · RecommendedSee the chapter reading map.
11.5 Compare representations fairly and inspect failuresE · EssentialW11-B-T4, W11-B-T5, W11-Case_Study-T2, W11-Case_Study-T3

Chapter 12

Book sectionDepthNotebook tasks
12.1 From linear models to a neural networkE · EssentialW12-A-E1, W12-Case_Study-T2
12.2 Activation functions and learned featuresE · EssentialW12-A-T1, W12-Case_Study-T1
12.3 From prediction error to backpropagationE · EssentialW12-A-T2, W12-Case_Study-T1
12.4 Checking derivatives independentlyE · EssentialW12-A-T3, W12-Case_Study-T1
12.5 From a correct gradient to a trained predictorE · EssentialW12-B-T1, W12-B-T2, W12-B-T3, W12-Case_Study-T2, W12-Case_Study-T3