Good evening, everybody. Am I audible? Please write in the chat box. Thank you. Yeah. Okay. So we are going to start our class. Yeah. Thank you. So there's a confusion among the student. So there is a small change in timetable every Tuesday onward, today onward, every the class timing is from 6 30 to 7 okay it is clear so it is not for today it is for every Tuesday we have a class 6 30 to 8 6 30 to 8 okay so in this course in the last class we have started module one and the module one is about the fundamental of fundamental of machine learning. So in the last class what we have seen in the last class we have seen what is ML and how ML is different from conventional programming. Are you able to recall the previous class discussion? yeah so today we are going to discuss about today yeah yeah today we are going to discuss about yeah what is supervised learning what is supervised learning what is unsupervised learning, okay what are the features, what are the variables, what are the meaning of class, level, independent, indie, dependent variable, what is target variable, okay what is training, what is testing. So today I will try to cover all these topics okay. So if you broadly if you try to categorize the algorithm of machine learning or either deep learning there are broadly two category. There are broadly two categories. One is supervised learning. We call it one is supervised learning. Another we call it unsupervised learning. It is a category. Try to understand. It is not a name of any algorithm. It is just a category. So under this category there are many algorithms. There are many algorithms. Here, there are many algorithms. So, here we will understand what are the property or characteristics. What are the property or the characteristics by which you can say or identify the given algorithm is supervised or unsupervised. This is the topic. How do you know what are the characteristics, what are the criteria so that we can say the given method or given problem is for supervised learning or the unsupervised learning. So So here, starting with the dataset, starting with the dataset, I will explain the supervised learning and unsupervised learning by taking the example of dataset. Dataset means what? Suppose like email classification, we have taken an example of email classification that we have seen in the first class. Or another example, if you try to consider, suppose I want to predict, I want to predict a student in the final, student in the final year, in the final year, final year, will, will placed or not, that I want to predict. Okay. So, answer will be either yes or no. So, as we know machine learning algorithm requires data set. So, suppose the data set for this purpose is the historical data set or data set of seniors that already passed out. So, data set will be what? Rule number of the student. I think everybody agree. Name of the student. it. You can say the first same CGPA, similarly the second same CGPA till support 7th same or final year CGPA. How many internships he has completed, what technical knowledge EOC have. All such data set is there and last data set is placed yes or no. Are you able to understand the simple data set I am creating that can relate yourself? Yes. So here data will be there. There may be many more columns. There may be many more columns. So here column is like yes, yes he was placed, he was not placed, he was not placed like that. So this is the data set, please focus over here. So which is your target column you tell me? You tell me the target column, which one is the target column? What you want to predict target? if somebody will say the target column means in real problem target means in the real problem or whatever the task is given whatever the task is given okay so if you try to find out the task what was the task go to here predict the student in the final year will placed or not so here placement this is the placed information that is a target column because i want to predict this Okay. Everybody agree or not? What you want to predict? I want to predict whether a student will get placed or not. So, the column or this is related in Excel file. I will say this is the target column. Agree. So, now you have to answer this is the target column. That is the placement. Okay. I think everybody agree. You tell me placement is depend on what? Placement is depend on, I think everybody agree, first semester to the seventh semester CGPA. I think everybody agree. Also, how many internships he has completed, technical knowledge and many more. So, if I say the placement depends on these. I will be correct or not? depend on these like a first to seven same CGPA, technical skill, internship and many more. Are you convinced with my discussion? If this problem is given where your objective is to predict the student placement in next year, so this placement is depend on what? Whatever the data set is given to you, what are the features are given to you, what are the details are given to you. So, this is called what? Now, the thermological introduction, this is called target variable. Please understand, this is called dependent variable also, dependent variable. This is also called it class label, class or label like that. There are many more but this is the most common terms people are using to refer this are either target variable, either dependent variable, either class or label. This is called what? Where it is depend on independent variable okay and most common name is a feature also we call variable. So now I hope so everybody who are very new in the machine learning domain now comfortable to understand these two terms, these two categories of term. Target variable, dependent variable, class labels all are the same thing. Another side features, variables, independent variables are those that we require to predict the target rate. Any question here up to this moment? Okay, so why dependent? You answer by yourself. I have already discussed why it is dependent. Your placement is dependent on previous semester, CGPA, you also know, you can answer by yourself. Place band is dependent on these features. You try to answer it round. Yes, variable, if you say just variable, it's target or independent variable. It's an independent variable. If you are using the word variable means we are talking about the independent variable or feature. So, as we discussed in the previous class, concept of very, very, very briefly I am discussing suppose this is the data set, this is the data set, just understand the structure of the data set. Don't go in much detail, just understand the structure of the data set. Any data set is given like that. Here variable one, variable two or features you can say. Suppose there are 10 features and this is your target variable. Target variable is suppose yes, yes, no. This is the observation. So we call it observation one, observation two, dot, dot, dot and number of observations. So are you able to understand the structure of any data set? Okay, is it clear? Okay, I have some questions of Adit. Okay, how we will associate weight to the feature? So Adit, I have covered the weight of coefficient in this class already. Please answer it. Vipin also. I'm asking both of you. Adit. It was covered the weight and coefficient training process in this class. Waiting for your answer. Adit Kumar. Yes means what? When I have covered about the weights. So why he is asking? Why is asking? So everybody at the the starting of the class i have discussed some etiquettes the topic that i am covering the topic that already covered if you try to ask and have a discussion around that it will be good for you if you are super duper intelligent you have already studied the machine learning then then then request to do not disturb the class okay if i have covered the coefficient training all those process you are welcome to ask the questions otherwise don't jump into the next module or the topic that will be covered in the future glasses it is it is it clear to everybody is it clear or not then i will go ahead okay great so i have a one related question from We don't have more than one target columns or target labels. Is it clear? We require only one. There is not possible in supervised learning to have more than one target column. So come back to the discussion. So this is the structure of the data set suppose is given to you. Data set contain n number of features. Suppose 10 features are there and one target column is there. And we have a n number of observations. So what happens? Suppose this is your machine learning algorithm. Don't go in detail what is training, how it happened. In the training process, I will discuss the training process in detail, don't worry. so this this is training process this first observation is given to the model model will predict okay if model will predict yes suppose so you are going to compare with the correct answer target means correct answer so we whatever your during the training your algorithm will predict we have to check whether this predicted is uh uh matching with the correct answer or not agree correct answer this correct answer also we called ground truth please remember this word ground truth very famous word target column means ground truth okay so luckily i have predicted yes and my correct answer is also yes. Okay. So, it's a very good condition. We don't need to do anything. Okay. Suppose observations 2 I have given the next time in the training. Training is iterative process. Okay. So, yeah. So, observations 2 I have given. Suppose my model have predicted no. Okay. What is the correct answer? What is the ground truth? You tell me by seeing the data set observation for observations to what is the ground truth? You see the data set. Yeah. So ground truth that he was not succeed in the placement drive, but my model have predicted he was succeeded in the placement drive by my model predicted no. So, this is called error. Agree? This is called error or we call it misclassification. Misclassification. Particularly who are very new in machine learning area, it is the right time to get familiar with the many many common terms people are using everywhere. okay so this concept we call is misclassification why my model is wrong my model is wrong a wrong prediction we have made my model is predicting the person not selected but my data set that is a correct value is saying it is selected so based on this error we are going to update the model. What we are going to use, we are going to update the model, update the model. This model or algorithm have a lot of weights, people discussing about, lot of weights. What is weight, where it is, don't worry about that. Lot of coefficient, lot of coefficient, lot of parameter that we need to update every time. This is clear or not? If any error or misclassification happen, next process is that underline algorithm you have taken any of the machine learning or deep learning. All the algorithms have a weights, coefficient and parameter. We need to update. What is the objective to update the weight? What is the aim and objective? Tell me your objective is to what? To reduce the error. Agree? to reduce the error or misclassification. Misclassification. Till this moment, I think intuition, what is the minimum intuition behind that? What is the rule of target variable? One second. Okay. so now let me let me see your questions you can watch the recording that's correct and let me show that if any theory comes in mind I think there is now leave it what are the questions okay that is relevant if possible can you please summarize the session which Q till now for today. Okay, you can just revisit the recording. I cannot repeat the whole session. Okay, so during training also we will predict the value. Yes. Yeah, this is the related question. During training, we also predict. Yes, yes, yes. Every time for every observation. So there is a confusion. Yeah. So let me clear it. Suppose this data set is given to you. This data set is given to you. This data set having 10,000 rows or 10,000 observations and having also one ground truth or target variable, okay? So, for every observation during training we have to feed all the observations one by one, one by one, one by one, one by one, one by one. And every time your model will predict something and we have to match with the ground truth if it is a correct classification correct answer we don't need to do anything if the answer is wrong we have to update the model then again send to the next observation so this is a iterative process don't try to understand in detail just understand the intuition okay nishan okay okay so now i have a question who is who is guiding who is guiding the training process now you can answer whatever the discussion i have made in this session who is guiding the training process tell me no one yes answer is no no no no no no no no wrong wrong answer is the target target variable some of you have answer correctly ground truth ground truth or class variable whatever you want class variable output variable also we call output variable. The moment I be calling the new names, I am discussing with you. Agree? Why? Why I am saying guiding? Guiding means what? You can relate who know the correct answer. You tell me. Given data set, who knows the correct answer? Who knows the correct answer? This column. I think everybody agree yes so that's why the output variable output variable or target variable target variable tells every time predicted value is correct or wrong i think everybody agree it give the direction direction for better learning. Everybody agree or not? Now you tell me in your life what is the role of supervisor supervisor or guide maybe your project guide maybe your PhD guide the same role yes or no whatever your target variable is doing here the same role he is playing like a supervisor, a guide. Okay, so Purful have asked a question. So question I already answered. I think nobody have noticed it. Target variable is not defined by anybody. Target variable is defined by the problem. What is the problem is given to you. Accordingly, you can find out the target variable. Okay, agree? For example, I am discussing this question for Praful. Suppose this is the data set of any person. So name is given, height is given, education is given, in which city it belongs to given, age is given salary is given car purchased yes and no is given he has life insurance yes and no is given are you able to understand this data set everybody there may be more other columns powerful are you able to understand this this data set Now, I have a question. Develop a machine learning model to predict a given person will purchase a car or not. suppose i am the agency i have agency of particular car i want to call i want to send a message of all the data we have okay so how do you know uh other otherwise i can have a machine learning model so i will give you input of that detail and and model will predict yeah the person will purchase car or not okay so which is the target variable here in this case which is the target variable which is the output variable purchase great great now i have changed the problem developed a machine learning model to predict predict the salary which is the target column now in this data set with the target column got the idea everybody so you should not ask the question sir in the given data set help me to find out the target column it depends on the problem for what you are solving for what you are training the model agree no so adit kumar if target column is not clear means you don't have any problem so why you are going to train the model if you have a problem if somebody has given the task for which you require the machine learning model if the target output is not clear means nobody has given any need tasks to do it okay adit kumar you give me any example in this case a target column is not clear for me it is impossible okay otherwise adit you can elaborate you need a need a model question is that for what purpose you are going to train a model that purpose will answer it so why we need to if there is no task then why we need a model swamboo very simple questions if there is no task then why you are wasting your time to train the model okay yeah it's a very basic concept you will not find anywhere in any youtube channel in any books people people never discuss that fundamental part target column is not a universal define value. A same data set depends on the underlying problem or task. The target column changes. I have given a very good example. This task 1 and task 2. Same data set. Okay. In the stock market, the task is to predict the day high or day low. The target variable will be stock price yes you can think it is a match okay so i have now uh i think you have an hour better understanding okay okay i have another example okay again i'm going to make a data set for example the name of the person salary of a person just hypothetical example i'm making salary of a person or or you can say the education of person education of person which city person belongs to whether it is married or not number of child like the data set is given to you okay okay great just hypothetical example try to understand. Now, I have a question. Train a model, train a machine learning model to predict height of a person. Can you solve this task using this data set? So this it means there is no supervisor. Agree? In other way, there is no supervisor. There is no guide. You all are correct. There is no target column. Target column or target variable is missing. All you all are correct. Yeah. Okay. Yes. So now again come to the starting of the topic I have started. Now you can understand easily like there were category of machine learning algorithms, supervised learning or unsupervised learning. So any of the task is given to you or data set is given to you. if the data set have a relevant target column or ground truth or the word I am just using multiple times so that you memorize it or output variable. if task is given or data set is given or data set have a relevant target variable ground truth variable or other variable in this situation we call it whatever the ml algorithm you will apply we call it supervised learning we call it supervised learning okay just understand the concept. Don't go in detail in the name of supervisor. I mean, there are many, many, many, many supervisors. Okay, there are many supervisors. That support that can use a data set plus target variable for a modeling purpose, such set of algorithm we call a supervisor. Okay, if the task is to predict the salary of employee after five years, can there be multiple target variables no there will be only single target variable okay yeah so supervised learning is clear to everybody just opposite task is given plus data set is also given you should not assume in unsupervised learning there is no data set but we don't have any target column is missing there is no supervisor means there is no supervisor there is no guide even we want a model or you want to solve the problem so there is a set of algorithm we call unsupervised learning that can work without any target column is it clear yes aniket you are correct label data means target variable yes yeah i've already used the labeled word you missed it aniket you missed it i already used that word class label earlier okay so i want to show you look i have used this target variable means labeled data okay till this moment if you have any question you can write over here yeah so nishikanth uh unsupervised learning in is not in your syllabus we assume that it is advanced machine learning so you know it so i cannot cover everything got it so that is a bitter truth nishikanth it is not in your syllabus but if time permit i will try to include it but i know it is not possible okay any other question yes cost cost of yes you are correct yes varun you are also correct mathematics of machine learning maybe there will be different subject i don't know so somebody asked about mathematics of machine learning okay so i don't know there are how many subjects are there in this semester maybe one of the subject machine mathematics for machine learning. Or maybe next semester you have to check your syllabus. Okay, I don't know. It's a complete subject name. Ankit mathematics for machine learning is a topic. It's a topic. So suppose a gradient descent I will cover. It's a topic come under the mathematics of machine learning. Otherwise mathematics of machine learning is a complete different subject. Is it clear? Mathematics of machine learning is a simple one-line topic. So whenever mathematics is required, I will cover it but there is no separate topics. No G1 model will not work if you are using the mod, a trained model for a different purpose. It will not work. Yes, deep learning algorithm also comes with the supervised or unsupervised learning. Yes, most of the time we will cover the supervised learning. Yes, because all things in one course not possible. It is an area data science in the area. These are the Sanket Anand you have correctly written. You are not first semester student of BTEC. Agree Sanke? So you are enrolled for PG. So many of the things that is required, it is not given in the syllabus, you have to cover by yourself. Otherwise, you take admission in BSc first semester. Okay, if the task is to predict the salary of an employee after 5 years which will the target variable out of the data set increment 1 year in the data set there will be a column the salary of salary after 5 years that column is required okay in the data set that column is required salary after 5 years that will be the target variable okay any other question in the supervised learning if target data set change to no in the third time. Third time is what? If the training model will model predict yes or no it will always look for update the data set. I am not getting your question Priyansu. Whatever given in the training it will learn accordingly. In unsupervised what about the ground truth? Rahul I have answered there is no ground truth. I think you are not understanding or you are not giving complete focus. Look Rahul what is what is written here no supervisor target column is missing so why you are asking this question I already covered it there's no target truth or ground truth in unsupervised learning ML algorithm will be different in the both the cases same algorithm you cannot use underlying concept will be different target data will not be there only input data yes Mahana correctly you have written deep learning can come under the supervised and unsupervised deep learning is not an algorithm that is a good question somebody is asking okay I'm happy to see this question somebody is asking deep learning is comes under what supervised or unsupervised agree that is a question I want to answer this question like that you first answer me machine learning is what supervise or unsupervised supervise or unsupervised answer this question first Anmay you should answer these are the subject this is the area this is not one algorithm so that you can quantify or you can say it is here and there machine learning having many algorithms similarly deep learning algorithm deep learning is a subject having many algorithm some of the algorithm will be supervised some of the algorithm will be unsupervised okay and everybody else deep learning and machine learning are the subject name course name area it is not algorithm got it or I have covered this question already at the beginning look look here what I discuss machine learning, deep learning, having algorithms, those algorithms can be categorized into the two-way supervised learning and unsupervised learning. I have already mentioned. I think you didn't notice. Now it's clear. What is the graphical model mentioned in the syllabus? Graphical model means CNN who works with the images. Okay. JNI is not possible, but fundamental of the NLP I will cover. Aditya, even NLP is not given in much detail in your syllabus but I will try to cover fundamental of NLP and Gen AI or maybe Agentic AI, maybe elective subject or maybe the subject in the next semester. You can see your curriculum, okay Aditya? I don't know about the Agentic AI or Gen AI, maybe one subject in your next semesters, okay? Got it? I will give you an example, Rohit. Unsupervised learning, I will give you an example. Okay. So, yeah. So, now, let me open this document I will upload in the Moodle. You can refer it. So, whatever the discussion I have made, it is summarized here. So, learning or machine learning, deep learning algorithms are categorized into the two way. supervised learning and unsupervised learning. Okay, I have covered it. What is unlabeled data or what is labeled data? The document I will upload, don't worry about that. Unlabeled data. Is this clear? If target variable is given in the data set, we call it labeled data. If target variable is missing in the data set, we call it unlabeled data. okay and and discussion is made over here you can go through it some example is given here okay so this is the example of unlabeled data that now you have a complete understanding what is supervised learning i have covered it this is the just notes for you in in in the supervised learning you train the machine using the data which is labeled okay it means some data is already tagged with the correct answer a supervised learning algorithm learn from the level training data help you to predict outcome for the unforeseen data okay so whatever it is written i have explained in detail with a lot of example yeah label data data comes with the correct answer yes unlabeled data means there is no target variable okay is it clear unsupervised learning just opposite and why why the supervised learning i don't need to discuss that part very obvious okay let me go with the what is unsupervised learning okay nishant is sharing something i don't know what it is nishant so who has asked to share the this flavor nishant i'm not getting idea nishant you have shared the flavor that's okay for which purpose please answer it someone can already download it what you want should I go with the slivers as it is line by line okay I'm not asking about tensorflow or other stuff okay I want to stick here again so you tell me what do you want you want to go with the slivers line by line okay so let me explain again. Please understand everybody, slavers. You love a slavers a lot. Let me discuss the bitter part. For any of the teacher, if teacher follow the slavers as it is, as it is it's easiest task easiest task it is it is it is good for me okay if I go a line by line okay why because I will prepare the notes from the book whatever in the sequence it is given I will go through it okay I will give the equal time to all the content I will not go in detail. A teacher will not go in detail. Okay. Let me explain. Suppose in your slavers, let me open it. It's very important to discuss because there are some many smart students. They love slavers. Okay. Now tell me in this slavers where it is written label unlabeled data. Where it is written classification regression. Where it is written independent variable. You tell me. Okay. Let me discuss first. This is the slavers I have opened for you. Are you able to see where is the target variable and target variable? Where is supervised learning, supervised learning, unsupervised learning is given? Where is written classification or regression? I will not going to cover any of the machine learning algorithm here. Fundamental is over. Just I want to prove it. I just getting your feeling. Just see the slivers. Can anybody find any of the machine learning algorithm in the slavers this is just it is open for you any machine learning algorithm you go to the slavers from top to beginning where is any machine learning algorithm is given why i am teaching ml so why i should not introduce the what is a machine learning it is not given i have planned to cover at the beginning i will cover one algorithm from the uh uh classification classification word i thought of covering linear regression linear regression okay second we have a regression kind of category i i is a logistic regression okay here i i thought of covering linear regression so that you can understand whole training process, whole training process. Once you have a model, once you have a model, you need to check it, whether training, you need to check it, you need to check the performance. Agree? Performance. In the performance, what happens? In the regression, if the regression kind of problem is given or it is a classification, is given. It is in the deep learning also. In the regression, you need to know what is SSE, what is R2, what is adjusted R2, many, many, many more regularization, many more. Similarly, in the classification, you should know the confusion matrix. You need to know what is the accuracy, what is precision, what is recall. These here, we assume advanced machine learning algorithm, assume that you have good understanding about all those topics. Okay, I got it, just I want to convey one important part. So, and all such things like sum of square error, R square, adjusted R square, confusion matrix, accuracy, precision recall, that things are not given in the syllabus. So it is good for me. I should not cover it. Just I can start from deep learning and deep learning fundamentals are not given directly from the encoder decoder. Within two months, I can finish that course. Okay. you decide together how should I run the course I have taught that course of your seniors many times if I follow the slivers I will be happy you will not be happy at all okay so you tell me how should I go it okay come to the discussion so what is unsupervised learning easily you know if the data set is given to you and the data set is unlabeled and target variable is not present in the data set, even you want to solve that problem, we call it unsupervised learning. Okay, so now again a time to understand important part. You have seen supervised learning and unsupervised learning. Till this moment I think everybody is clear. Unsupervised learning there are again two subcategory. One is classification. Everybody should know these all words in MLDL. DL is everything. DL is everything about supervised, unsupervised, classification, regression. How many of you have listened this word classification and the regression? Okay, great. So now from today onward you at least you know the classification is a type of one category of machine learning algorithms that have many algorithms that have many algorithms like a CNN is also classification method. Similarly regression have many algorithms. Or these two subcategories comes under the supervised learning. Okay. Now, focus on the target variable. Okay. Now, if the target variable is a categorical variable, categorical variable, then we call it classification problem. Okay. If the target variable is a continuous variable, continuous variable or numerical variable, we call it regression regression is not a machine learning algorithm regression is a category okay is it clear now you may be wondering about what is a category category means target variable have a like yes no answer okay and continuous variable like a salary salary will be have a number if you want to predict the salary if you want if you want to predict the height of particular person if you want to predict the cgpa if you want to predict the temperature like that or having the numerical value in the target variable that's why we call it regression okay and classification output variable like yes no happy not happy okay cat if you want to put the cat dog elephant like that. So if your target variable is a category, we call it classification and if target variable is a numeric number, we call it a regression bound. Again you are discussing unnecessarily timing. So it is a more important topic. So you keep on discussing about the timing. I will go ahead. okay so this topic is ended here okay so whatever the time you are wasting i don't have any problem i will pick to the next topic yeah so come to the clustering so come to the clustering leave it where i was i was here ml algorithm then we have a classification we have a classification no we have a supervised learning under the supervised learning we have seen classification we have seen regression that was covered now come to that part in the unsupervised learning unsupervised learning under many categories there are many categories one of the categories is clustering Somebody was asking, sir, can you explain some example of unsupervised learning? Association rule mining, PCA, okay? So, these are the example of unsupervised learning. I hope many of you already familiar with the name of clustering. So, clustering comes under the unsupervised learning. Association rule mining, under the association rule mining, there are many algorithms like a priori, like a frequent pattern growth, okay? Is it clear? Yeah, principal component analysis is a kind of unsupervised learning, okay? Is it clear? Okay, now, yeah, so this is over and I will upload that document, that document have introduction about unsupervised learning look here and unsupervised learning have some some some other topic like a clustering what is association rule mining everything i have given the difference between supervised learning unsupervised learning also included in this notes i will upload in the you can go through it okay yeah so it is all about supervised learning and unsupervised learning we have a next topic yeah so I'm going to start the next topic it's again a fundamental of machine learning the next topic is like a model development life cycle model development life cycle okay so ultimate your objective is what to develop a model so there is a life cycle that you need to understand each component if any problem and task is given you need to select the algorithm that is very important part suppose a task is given okay task is good based on the task the data set will be given to you I assume that the data set will be given to you by seeing the task and the data set you can decide if data set given the label then you can go with the supervised learning I think everybody if the given task and data set not having any label, you can go with the unsupervised learning. This I am discussing how to do, how to decide which algorithm you need to keep. Suppose in the data set the label is given, then by seeing the label type, you can think about it will be solved through the classification or with the regression. Now, suppose you decided it is a classification problem, then there are many algorithms. Then there are many, many, many, many, many. For example, classification, one of the most important algorithms is logistic regression, SVM decision tree NABASE CNN NN many more. Similarly, we have many algorithms under the regression. Similarly, we have many algorithms under the unsupervised lab. So, model development lifecycle based on the given data set based on the given problem, you have to select the algorithm. Once you have selected the algorithm, you should start training process. I will discuss the training process right now. Once the training process is over, you have a model that you need to check the performance of your model. We call it model validation or model testing or model evaluation. Once you have a model tested, you can go for the model optimizer. Okay. So, let me explain with the first what is training process. What is the training process? Okay. So, training process means it is a process. First try to understand it is a process or in better way I can say it is a iterative process. It is a iterative process. okay so whatever the data set is given to you whatever the data set is given to you data sets contain a lot of images a lot of observations the data set will be given to the any of the ML or DL algorithm okay any of the ML DL algorithm okay so this algorithm is scan this scan data set multiple time. Okay. So that it can learn the pattern. Okay. For example, suppose data set contain a lot of images of cat and dog. Okay. So these images will be given to the any of the machine learning, deep learning algorithm, whatever you have decided. It will scan those images multiple time multiple time multiple time okay so that it can learn what it can learn it can recognize it can learn it can recognize how the cat and dog look like pattern of cat and dog this idea is clear to everybody is it clear okay great so there are two important part during modeling modeling means during training here first need to understand what is training I will explain and what is testing okay and what is validation kind of thing what is testing okay what is the criteria of selecting algorithm at a okay so i have given a very brief answer here depend on the data set depend on the task you should decide first it is a supervised learning problem or it is unsupervised learning problem if it is supervised learning problem you have to see it is a classification it is the regression once it is a classification then you have n number of options so typically if i say it comes with the experience otherwise hit and try every algorithm you have to implement and check which perform the best for your case you have to choose as a final algorithm okay Patish yes machine learning required or modeling required a lot of time you cannot say out of out of these algorithm this will be the best I am going to choose this one no you cannot think like that I agree once you have a lot of experience you can find out the subset of available candidate of the algorithm but even though many algorithm you have to hit and try. You have to train. You have to go for the training with many n number of algorithms. Out of those, which will give you the best result you should choose. Okay, Atif? Yes. I've been asked earlier. At the end of the course, you will realize. Yeah. So, during modeling, there are two important part training and testing so first discuss here otherwise you will ask many questions and later i will not answer i will i will suggest to see the recording okay so this is the data set okay data set having suppose 10 number of variables and this is your target variable. I am explaining with the example of supervised learning. Okay, so this is your data set. Okay, and you have a suppose 100 observations. Okay, total number of size of the data set is 100. Okay, Vissal have asked a question, label means what? I think you have joined the this session late, please refer the recording of this session. Okay. I have covered in detail what is the label. So come back to the discussion. This is the data set is given to you. Okay. Now you have to split that data set. Normally there is no thumb root. You need to split your dataset. Normally people say 65% to 80% of data as a training set, training set or remaining 35 to 20%. It's up to you. Test data, test data, test set. So normally if I say people do with the 70% as a training data, remaining 30% as a testing data. This number is not fixed. It's a range around 70% to 75% for a training data set and 35% to 25% for a testing data set. Okay. Is it clear? This spirit is clear to everybody. Is it clear or not? So what I will do? I will randomly select randomly. Here, I will randomly select, suppose, 70 observation, 70 observation here. This is a 70 observation. Okay. 0, 1, 2, 70. They are randomly I have select. Okay. So, this data set having all the observations variable to target variable. It is clear? Is it clear or not what I am doing here? Whatever the data set will be given to you at the starting point, the major part of the data set like 70% or around that, you should split or divide for a training data and remaining around 25 to 30% data, you should keep for the testing data purpose. Up to this moment, things are clear? So this data set is given to you, 70 percent observation I have taken as a training data. So this is the training data. So in the training data I have already explained what we are going to do. Any of the MLDL algorithm that you have selected, you have to feed observation one by one, first observation I have given. it will predict something. Okay, then we have to match with the ground truth or target variable. If it is correct, okay. If it is misclassification or incorrect, then we have to make changes in the algorithm. We have to make what changes don't ask right now. You have to make changes in the algorithm. Once the changes are over, you have to feed the next observation O2 to the ML algorithm that is modified version. Again, it will predict. Again, you have to check with the target variable if it matching okay. Otherwise, the same process you have to repeat for complete training data set. Suppose there are 70 observations. Every time you have to update the model if there are errors. If there is a classification, you need to update the model. Otherwise, not required. It is clear to everybody? Now, important part. Suppose this is your data set. Suppose this complete data set you have given your ML model during the training and all the 70 observations you have given. You have to again repeat the same process. You have to repeat again the same process. Please do not think only once all the observation of the training data will be given to the algorithms. Not. It is iterative process. Multiple scanning is required. N number of time you have to give. and number of time you have to be complete data set. Same data set multiple time. How to decide and I will discuss later. That question will be how to stop. When to stop that learning process or the training process. That question may be with you. So, rough answer is that when training is over. When training is over. Rough answer is that when your model learned enough, okay, but how to quantify it, how to, how to, how exactly, this is the, this is the some, some, some, some answer like that qualitative answer, we don't have any quantitative answer. So, I will discuss that part, but is, But today is not the right time to study, to check when the model has learned enough and when we supposed to stop the training. It's not the right time. Okay. So first understand whatever the training data set is given to you. This whole training data set we need to pass. We need to give the ML algorithm or DL algorithm multiple times. This is the main concept. I want to make it clear. Observation means row, a single row we call observation. Joginder have written the bootstrap wrong, it is not bootstrap at all. So training is clear to everybody or not? Idea about the training because many of you assume that only once you give the training dataset completely to the model, no. same data set we have to give multiple time, multiple time, multiple time during the training. That is the idea I want to convey. When to stop, we will discuss later. Now suppose training is over, you have a model. You have a model M1. Okay, then the question is, then the time is to check it, to check its performance, to check its performance. Okay, it's a common idea. Once training is over, how well your model is performing, how well it learned from the data, I don't know. So we have to check its performance. I think everybody agree. Now come to the testing data set. Yes, somebody have asked what is the difference between training data set and testing data set. so now for this we have to test the data as the model agree so now focus on the testing data set testing data set if you remember that was 30 percent of overall data set i have just split it and kept it other side okay is it clear testing data set is clear at the beginning the 30 data set i have divided and split and separated to keep other side for which purpose for this purpose now i want to check the model performance okay yes now the important part during testing what happened. This is the important. Please understand. Suppose this is the testing data set. This is your testing data set. Important part. Testing data set have all the details up to all the variables that we have seen in the original data set. Look, this is original data set having all the variables or features like 10 number of features plus target variable. Here it is very important part. Now we have to separate this dataset a target variable. We have to separate. Now target variable will not be a part of testing dataset. Is it clear? Is it clear or not? The same dataset I have taken as a testing data set but I have removed the target variable. Now this data set is given to you. Suppose there were observations like 71, 200 for example and this is your trained model. This is your trained model you have got from the training. What you have to do? You have to pass the observation from the testing data set. Suppose this observation I have passed 471. Your model will predict something. Now you have to check with the target variable that you have kept separately, whether it is matching or not. Agree? So suppose here all the testing data set, all the observation you have pass to the model. Here we are not going to update the model because it is not training. Just we are going to check. We are just giving the observation from the testing dataset and your model will do predict correct or not. So based on that, we can count how many times it is predicted correctly or how many times it predicted not correctly. But accordingly, you can check the performance of your model or accuracy of your model. Is it clear everybody? Is it clear? So I have covered the topic. What is training data set? What is testing data set? Training data set purpose is clear to everybody. Testing data set purpose is clear to everybody. that was the topic i have covered today because i have already covered this question data set should be different or same i'm not getting your question i suspect if we keep on giving the same data set we won't able to train the model accurately okay you are wrong giving the same data set multiple time your model will learn okay so you will realize throughout the semester how it is going to happen okay so this is the introduction of machine learning only we are not going to end the course today during the testing phase do we need to exclude the target column manually yes yes or logically you can you can give these number of column uh during the testing okay in both the way you can do it are we going to use the random sampling within the training data set while being used multiple times. Once you have a training data set, you have to provide all the observations to the model, maybe sequentially, always be sequentially like that. Okay, Anu Jai, you should not apply sampling in the training data set. So we are comparing predicted data from the training model and comparing with the target inserting the data is wrong yes how to exclude the target variable how to exclude you learn by yourself through the python okay you need to know how to import the data set how to visualize it how to split it okay it is going to be uh i will ask to the uh my scholar uh dr mayank he will take a one lab or coding i will not want to use the word lab the coding class will give you one demonstration how to split the data set it will be good for you if required i will ask him to cover it so it i will ask ask him to demonstrate all that process in doing python if you want i can ask by using python how it is going to happen i will i will cover in the coding classes if you are agree okay it will be done it will be done don't worry i will ask him okay okay it will be there it will be there I will do it don't worry about I will do it anything else whatever is required for your learning purpose I am with you all there is no distribution Narayan whatever I am teaching it will be the part of MCQ and quiz simple answer simple answer there is no separation there is no distribution at all please understand whatever the quiz or any kind of exam happen whatever covered in the classroom will be based on that. There is no any distribution like 10% question from mathematics, 20% question from machine learning fundamental, 10% question from NLP. Not like that. It's totally up to me. It's totally up to me. Okay. There is no distribution of questions based on the topic. So, yes, Vindar, you are going to give the exposure of ML and DL, both kind of algorithm by using Python. Okay, Sengar, you will be given the exposure of ML. But initially, many of you don't know about the Python at all. So, he will demonstrate the Python introduction, all those things. Then we are going to use the library function. The library function will be around the data science or machine learning. Whatever the library function we are going to demonstrate, it will be around the machine learning. It is not typical ML or typical Python we are going to teach. We are not interested. It's your responsibility to learn the Python. So as I promised, there will be two or three classes for Python classes for Python where we will give the exposure of ML or ML related library. We are not going to teach Python syntax at all. Yes, Chandan, perfectly. Or there is no separation of questions. There may be 70% question from DL. There may be 10% question from the NLP there is no module wise distribution of the marks. Totally whatever I am teaching the questions will be based on that. I will upload all the notes right now. Okay. I agree somebody is requesting when you are going to get all these notes. I will upload all the notes just after the class. It's my promise. Anything else? Okay. I think you have a next class from 8 p.m onwards. So, we will continue discussion in the next class. Don't worry about it. We have complete one semester. Thank you. It will be MCQ question.