Difference between revisions of "Overfitting Challenge"
m |
|||
(6 intermediate revisions by the same user not shown) | |||
Line 10: | Line 10: | ||
* [http://www.unite.ai/what-is-overfitting/ What Is Overfitting? | Daniel Nelson - Unite.ai] | * [http://www.unite.ai/what-is-overfitting/ What Is Overfitting? | Daniel Nelson - Unite.ai] | ||
* [http://docs.aws.amazon.com/machine-learning/latest/dg/evaluating_models.html#overfitting Preventing Overfitting | AWS] | * [http://docs.aws.amazon.com/machine-learning/latest/dg/evaluating_models.html#overfitting Preventing Overfitting | AWS] | ||
+ | * [[Bias and Variances]] | ||
Overfitting is a problem in machine learning in general, not just in neural networks. The problem is inherent in the way machine learning models are developed: A set of "training data" is used to "train" the model. The goal is to have a model that can then be used on data that hasn't been seen before. Over-fitting refers to the problem of having the model trained to work so well on the training data that it starts to work more poorly on data it hasn't seen before. There are a number of techniques to mitigate or prevent over-fitting. [http://wiki.fast.ai/index.php/Over-fitting | Deep Learning Course Wiki] | Overfitting is a problem in machine learning in general, not just in neural networks. The problem is inherent in the way machine learning models are developed: A set of "training data" is used to "train" the model. The goal is to have a model that can then be used on data that hasn't been seen before. Over-fitting refers to the problem of having the model trained to work so well on the training data that it starts to work more poorly on data it hasn't seen before. There are a number of techniques to mitigate or prevent over-fitting. [http://wiki.fast.ai/index.php/Over-fitting | Deep Learning Course Wiki] | ||
− | * Bias is the simplifying assumptions made by the model to make the target function easier to approximate. | + | * [[Approach to Bias and Variances|Bias]] is the simplifying assumptions made by the model to make the target function easier to approximate. |
* Variance is the amount that the estimate of the target function will change given different training data. | * Variance is the amount that the estimate of the target function will change given different training data. | ||
Trade-off is tension between the error introduced by the bias and the variance. [http://machinelearningmastery.com/gentle-introduction-to-the-bias-variance-trade-off-in-machine-learning/ Jason Brownlee] | Trade-off is tension between the error introduced by the bias and the variance. [http://machinelearningmastery.com/gentle-introduction-to-the-bias-variance-trade-off-in-machine-learning/ Jason Brownlee] | ||
Line 24: | Line 25: | ||
* add more data | * add more data | ||
− | * use [[Data | + | * use [[Data Quality#Batch Norm(alization) & Standardization|Batch Norm(alization) & Standardization]] |
− | |||
* use architectures that generalize well | * use architectures that generalize well | ||
* reduce architecture complexity | * reduce architecture complexity | ||
Line 31: | Line 31: | ||
** [[L1 and L2 Regularization]] - update the general cost function by adding another term known as the regularization term. | ** [[L1 and L2 Regularization]] - update the general cost function by adding another term known as the regularization term. | ||
** [[Dropout]] - at every iteration, it randomly selects some nodes and temporarily removes the nodes (along with all of their incoming and outgoing connections) | ** [[Dropout]] - at every iteration, it randomly selects some nodes and temporarily removes the nodes (along with all of their incoming and outgoing connections) | ||
− | ** [[Data Augmentation]] | + | ** [[Data Quality#Data Augmentation, Data Labeling, and Auto-Tagging|Data Augmentation]] |
** [[Early Stopping]] | ** [[Early Stopping]] | ||
Line 37: | Line 37: | ||
http://s3-ap-south-1.amazonaws.com/av-blog-media/wp-content/uploads/2018/04/Screen-Shot-2018-04-04-at-2.43.37-PM-768x592.png | http://s3-ap-south-1.amazonaws.com/av-blog-media/wp-content/uploads/2018/04/Screen-Shot-2018-04-04-at-2.43.37-PM-768x592.png | ||
+ | <youtube>cJA5IHIIL30</youtube> | ||
<youtube>ms-Ooh9mjiE</youtube> | <youtube>ms-Ooh9mjiE</youtube> | ||
<youtube>-JopeGg60QY</youtube> | <youtube>-JopeGg60QY</youtube> |
Latest revision as of 19:13, 19 September 2020
Youtube search... ...Google search
Overfitting is a problem in machine learning in general, not just in neural networks. The problem is inherent in the way machine learning models are developed: A set of "training data" is used to "train" the model. The goal is to have a model that can then be used on data that hasn't been seen before. Over-fitting refers to the problem of having the model trained to work so well on the training data that it starts to work more poorly on data it hasn't seen before. There are a number of techniques to mitigate or prevent over-fitting. | Deep Learning Course Wiki
- Bias is the simplifying assumptions made by the model to make the target function easier to approximate.
- Variance is the amount that the estimate of the target function will change given different training data.
Trade-off is tension between the error introduced by the bias and the variance. Jason Brownlee
Whenever we discuss model prediction, it’s important to understand prediction errors (bias and variance). There is a tradeoff between a model’s ability to minimize bias and variance... To build a good model, we need to find a good balance between bias and variance such that it minimizes the total error.Understanding the Bias-Variance Tradeoff | Seema Singh
Good practices for addressing overfitting:
- add more data
- use Batch Norm(alization) & Standardization
- use architectures that generalize well
- reduce architecture complexity
- add Regularization
- L1 and L2 Regularization - update the general cost function by adding another term known as the regularization term.
- Dropout - at every iteration, it randomly selects some nodes and temporarily removes the nodes (along with all of their incoming and outgoing connections)
- Data Augmentation
- Early Stopping