Performance evaluation metrics (such as accuracy, precision, recall, mean squared error, and F1 score) are quantitative measures used to assess machine learning model performance. Overfitting occurs when a model learns training data too closely, including noise and irrelevant patterns, resulting in excellent training performance but poor testing performance. Underfitting occurs when a model fails to learn underlying patterns in the data, resulting in poor performance on both training and testing data. Bias refers to the model making overly simple assumptions about the data, preventing it from understanding complex relationships. Variance refers to the model learning training data too closely and becoming sensitive to small changes in data. The bias-variance tradeoff is the process of finding a balance between bias and variance to achieve optimal model performance, as reducing bias often increases variance and vice versa.
Deep Dive
Prerequisite Knowledge
- No data available.
Where to go next
- No data available.
Deep Dive
Performance Concepts in Machine Learning
Added:Hello everyone, welcome to NESU Academy.
In this lecture that is performance concepts, we are going to understand the machine learning terminologies related to performance of a machine learning model. So the topic for this lecture is performance concepts and in this lecture we are going to study about total six performance concepts in machine learning. Let's get started.
The first performance concept is performance evaluation metric.
Performance evaluation metric is a quantitative measure used to assess the performance of a machine learning model.
What does that mean? It simply means that performance evaluation metric is a quantitative measure or I can say a numerical indicator that is used to assess or test or evaluate the final performance of a machine learning model.
So in the previous lecture I have explained you that after the training of a machine learning model we evaluate its performance on unseen data. that evaluation or testing of a machine learning model can be done by a numerical tool that is a numerical measurement tool. That tool is known as performance evaluation metric. So it is basically a metric or a measurement tool that is used for evaluating the performance of a machine learning model.
for example, accuracy, precision, recall, mean squared error, even mean absolute error, F1 score and many others. Now you already know that what is accuracy? Accuracy is out of the total number of classifications, how many classifications are correct? That is accuracy. Like in case of spam email detection, accuracy can be the performance evaluation metric. Higher is the accuracy, better will be the performance of the machine learning model. Similarly, there is mean squared error. It is also an example of performance evaluation metric. And as you can see, mean squared error is a type of error, which means if the value of mean squared error is less, then the performance of machine learning model will be better. Similarly, precision, recall, F1 score, mean absolute error all are the examples of performance evaluation metric. And we will study about all the performance evaluation metrics in our upcoming lectures. In this way, we are done with our first performance concept that is performance evaluation metric. The second performance concept is overfitting. So overfitting is a condition that arises when the machine learning model learns the training data too closely including noise and irrelevant patterns resulting in poor performance on unseen data. What does that mean? It simply means that overfitting occurs when the machine learning model learns the training data too closely. too closely means that instead of understanding the actual patterns, features and relationships behind the data, the machine learning model memorizes the training data such that it also learns the noises that is unwanted data and irrelevant patterns, the patterns that are not even useful which results in poor performance of the machine learning model on unseen data.
So the model performs very well on the training data because it has memorized the training data but it will perform very poor on the unseen data that is testing data. For example, if the training accuracy is 99%.
And testing accuracy is 67%.
It is the case of overfitting. Why?
Because model performs very well on the training data because it has memorized the training data. It has not even understood the actual patterns, features and relationships of that data. It has just memorized the whole data. That is why the training accuracy is very nice.
But when it is evaluated on unseen data that is testing, its accuracy is very bad. That is 67%. So this is known as overfitting.
Now let me explain overfitting with a very nice real life example. Suppose you have an exam tomorrow and today you are practicing the same set of questions again and again again and again. Then it will be like that you have memorized those questions. You have memorized those questions too closely such that you also learned the full stops, the commas, even the question numbers that are like noises or irrelevant patterns that will result in poor performance in final examination because you have memorized the data without even understanding the proper concepts and patterns behind those problems. And that is why if the same type of questions will appear in exam then you will have a very nice performance. But if unseen questions will appear in exam then you will have a very poor performance. That is why the training accuracy is very nice but the testing accuracy is very bad. This is overfitting. Now let's understand what is underfitting.
Underfitting occurs when the machine learning model fails to learn the underlying patterns in the data resulting in poor performance on both training as well as testing data. So underfitting is a condition that arises when the machine learning model is not able to learn the patterns, features and relationships in the training data which result in the poor performance on both training as well as testing data. It is like you haven't even practiced a single question and you have appeared in your final examination. Then if the same type of practice problems will appear in your exam then also you will have a poor performance. And even if the unseen question comes then also you will have a poor performance because you are not able to learn the concepts features and patterns behind those questions. That is why in case of underfitting the training accuracy and testing accuracy are very poor. For example, here training accuracy is 58%. And testing accuracy is 49%. That means on training as well as testing the machine learning model will have a very poor performance. This is called underfitting. Overfitting and underfitting are the most frequently used terms in machine learning. So I hope you now have a good understanding of both the terminologies overfitting as well as underfitting. Now let's move towards our fourth term that is bias.
Now what is English meaning of bias?
Bias means having an interest or liking in one particular thing over the others.
This is the English meaning of bias. Now let's understand what is bias in machine learning.
The model makes very simple assumptions about the data because of which it cannot understand the real patterns.
What does that mean? It simply means that if bias is high then the machine learning model makes very simple assumptions about the data that we have provided to it. The model becomes too simple that it is not able to handle the complex relationships in the data. And because of this it cannot understand the real patterns, features and relationships in the data. This is known as bias. Now let's understand bias by taking an example. Consider the example of house price prediction system. Now the prices of the house are dependent on many features like size of the house, age of the house, number of bedrooms in the house, location of the house and so on.
If the model becomes too simple such that it predicts the price of the house only on the basis of size of the house ignoring all the other features then this is known as high bias because the model is having a bias towards only one feature that is size of the house. This means that model makes very simple assumptions about the data. It is ignoring all the other features and considering only the size of the house for predicting the price of the house.
This is known as bias and it will result in poor performance of model on both the data training data as well as testing data because the model is not able to learn the complex patterns the features the relationships of that data and that is why it will have a poor performance on training as well as testing and the condition in which the machine learning model performs poor in both training as well as testing data That is known as underfitting. Which means if bias is high, it will lead to underfitting.
Now let's understand what is variance.
The model learns the training data too closely and becomes sensitive to small changes in data. So I hope you can relate this definition with overfitting.
If the variance of the machine learning model is high, it means that the model learns the training data too closely such that it also learns the noises and irrelevant patterns of the data and becomes sensitive to small changes in data. Even if we did small changes in training data, it will have a very poor performance. And that is why high variance leads to overfitting because it performs very well on training data but it performs very poor on testing data.
This is variance. Now let's understand bias variance tradeoff. We have just understood that high bias leads to underfitting and high variance leads to overfitting. So what will you prefer in the machine learning model? Obviously low bias and low variance so that there is no underfitting and no overfitting.
So ideally a machine learning model with low bias and low variance is preferred so that there is no underfitting and there is no overfitting.
But practically it is not possible. In practice reducing bias often increases variance and reducing variance often increases bias. That means practically if we reduce bias it will increase the variance and if we reduce the variance it will increase the bias. That means we need to find a balance of bias and variance and that is known as bias variance trade-off. So bias variance trade-off is the process of finding a balance between bias and variance to achieve the best model performance. So bias variance trade-off is a process of finding a state of balance or equilibrium between bias and variance so that bias and variance will have the least possible values so that there is no underfitting and no overfitting and our machine learning model achieves its best performance. This is known as bias variance trade-off. I hope you have understood all the six terms.
performance evaluation metric, overfitting, underfitting, bias, variance and bias variance trade-off.
These are the performance concepts in machine learning. And in this way we are done with our topic that is performance concepts in machine learning. This was all from my side for this lecture. Thank you and I'll see you in the next lecture.
>> [music]
Related Videos

Expanding Stikbot thumbnails
leopoldshorts
2K views•2023-09-24

Digital Discrimination: Cognitive Bias in Machine Learning
redmonktechevents2974
4K views•2019-12-18

Evolutionary Approach to Clustering by Ujjwal Maulik
ICTStalks
279 views•2019-06-26

Rose Yu "Learning from Large-Scale Spatiotemporal Data"
networkscienceinstitute
2K views•2019-03-04

Stanford Seminar - Generalization through Task Representations with Foundation Models
stanfordonline
4K views•2025-07-14

Satellite-Based Wheat Yield Forecasting using GEE & Transformer Neural Network
gisrsinstitute
634 views•2025-06-15

Paradigm Shifts in Data Processing for the Generative AI Era: Robert Nishihara of Anyscale & Ray.io
GradientFlow
2K views•2025-01-02

How to Build Your Own GenAI-Based Knowledge Management System
2150GmbH
360 views•2025-06-03
Trending

WOW! Judge TURNS THE TABLES on Trump in His OWN $10B LAWSUIT!!!
MeidasTouch
197K views•2026-07-23

Playstation NO DISC/NO BUY Fight Is Over...
DavidJaffeGames
4K views•2026-07-23

Steam and Xbox Just Dropped The Hammer On PlayStation
OhNoItsAlexx
9K views•2026-07-23

Americans Confused in Australia for 17 Minutes Straight
IWrocker
17K views•2026-07-23