Overfitting Vs. Underfitting | Machine Learning

Published: 27 January 2023
on channel: Data Thinkers
2,677
132

Overfitting occurs when a model is trained too well on the training data, and as a result, it performs poorly on unseen or new data. It occurs when the model is too complex and captures the noise in the training data. For example, a model that uses polynomial functions of degree 15 to fit a dataset of 100 observations would likely overfit the data.

Underfitting, on the other hand, occurs when a model is not complex enough to capture the underlying pattern in the data. It occurs when the model is too simple and not able to capture the nuances in the data. For example, a model that uses a linear function to fit a dataset that is generated from a non-linear function would underfit the data.

Overfitting:

A student who memorizes the answers to all of the questions on a practice test, but performs poorly on the actual exam because the questions are different.
A chef who uses too many ingredients and complex techniques to create a dish, resulting in a dish that is too overwhelming for most people to enjoy.

Underfitting:

A student who does not study enough for an exam and performs poorly because they did not learn the material well enough.
A chef who uses only a few simple ingredients and techniques to create a dish, resulting in a dish that is too bland and not flavorful enough.


GitHub Link: https://github.com/PRIYANG-BHATT/Data...

If you enjoy these tutorials, like the video, give it a thumbs-up, and share these videos with your friends and families if you think they would help him.
Please consider clicking the SUBSCRIBE button to be notified of future videos.

Disclaimer ---

Video is for educational purposes only. Copyright Disclaimer Under Section 107 of the Copyright Act 1976, allowance is made for "fair use" for purposes such as criticism, comment, news reporting, teaching, scholarship, and research. Fair use is permitted by copyright statute that might otherwise be infringing. Non-profit, educational, or personal use tips the balance in favor of fair use.

#overfitting
#underfitting
#machinelearning
Thanks for watching -