- Deep Learning Quick Reference
- Mike Bernico
- 234字
- 2021-06-24 18:40:07
Managing bias and variance in deep neural networks
Now that we've defined how we will structure data and refreshed ourselves on bias and variance, let's consider how we will control bias and variance errors in our deep neural networks.
- High bias: A network with high bias will have a very high error rate when predicting on the training set. The model is not doing well at fitting the data. In order to reduce the bias you will likely need to change the network architecture. You may need to add layers, neurons, or both. It may be that your problem is better solved using a convolutional or recurrent network.
Of course, sometimes a problem is high bias because of a lack of signal or very difficult problem, so be sure to calibrate your expectations on a reasonable rate (I like to start by calibrating on human accuracy).
- High variance: A network with a low bias error is fitting the training data well; however, if the validation error is greater than the test error the network has begun to overfit the training data. The two best ways to reduce variance are by adding data and adding regularization to the network.
Adding data is straightforward but not always possible. Throughout the book, we will cover regularization techniques as they apply. The most common regularization techniques we will talk about are L2 regularization, dropout, and batch normalization.
推薦閱讀
- 后稀缺:自動(dòng)化與未來工作
- 數(shù)據(jù)展現(xiàn)的藝術(shù)
- 計(jì)算機(jī)應(yīng)用
- LabVIEW虛擬儀器從入門到測(cè)控應(yīng)用130例
- AWS:Security Best Practices on AWS
- 程序設(shè)計(jì)缺陷分析與實(shí)踐
- 現(xiàn)代傳感技術(shù)
- 嵌入式操作系統(tǒng)
- 網(wǎng)絡(luò)化分布式系統(tǒng)預(yù)測(cè)控制
- Enterprise PowerShell Scripting Bootcamp
- 菜鳥起飛系統(tǒng)安裝與重裝
- 單片機(jī)C語言應(yīng)用100例
- Microsoft System Center Confi guration Manager
- 單片機(jī)技術(shù)項(xiàng)目化原理與實(shí)訓(xùn)
- 網(wǎng)絡(luò)脆弱性掃描產(chǎn)品原理及應(yīng)用