flâneur

Reasoning about Neural Network Training with Bias-Variance Tradeoff

brucewlee.com · 1,278 words · saved by 1 readers

Bruce W. Lee. University of Pennsylvania. Language Models. Linguistic Features.

Bias-Variance Decomposition First, we start with data generated by some true function plus noise: \(y = f(x) + \epsilon\). The noise \(\epsilon\) has mean zero and variance \(\sigma^2\). We train a model \(\hat{f}(x)\) on a dataset \(D\), and the model depends on which dataset we happened to sample. Notice that when we make an error for a single prediction \((y - \hat{f}(x))^2\), there are two sources of randomness, which are the noise in the data and which training set we used (note that taking the expection of this squared error becomes MSE). Let's expand what we're trying to predict:…

saved by

related reading