Chapter 10 Quiz

Chapter 10, Generalization, Bias, and Variance

Learning objectives

  • Test your understanding of Chapter 10: capacity, bias and variance measured over many training sets, and which held-out split a score can be trusted from

This quiz covers Chapter 10: capacity and the bias-variance trade-off, measured on thirty training sets (Section 10.1), and validation you can trust, random against blocked against one well held out (Section 10.2). Its numbers are the book's kernel's on the book's own synthetic learning set.

Key Concepts Review

  • Capacity: how closely a model can follow its training samples: kNN's capacity falls as k grows, a tree's rises with its depth.
  • Bias and variance: over training sets rr, the mean squared error at a sample is (pˉ−y)2(\bar p - y)^2, the bias squared, plus the variance of the prp_r about pˉ\bar p. On Ogbon-1 kNN's sum is least at k = 11, 0.0082.
  • Underfitting and overfitting: high bias with the models agreeing; high variance with each model following its own draw. The training error falls with capacity all the way and cannot choose it.
  • The leak: a random split of well-log samples leaves 0.988 of the held-out samples beside a training neighbour that reads most of the same rock.
  • Leave one well out: each fold a whole well, no well in two folds; it scores kNN at k = 15 at 0.976, where the random split says 0.990.

This page is prerendered for SEO and accessibility. The interactive widgets above hydrate on JavaScript load.