# Advance Machine Learning

- **Course:** 6103 - Advanced ML
- **Recorded:** 2026-08-18 19:30
- **Transcript:** 867 segments, 9659 words
- **Made by:** deepdml/faster-whisper-large-v3-turbo-ct2

---
Good evening, everybody. If I'm audible, please write on the chat box. Great. Thank you. Okay. So I'm sharing my window. Give me one minute. I hope the screen is visible to everybody. Good evening. Good evening. Okay. Thank you. Thank you. Thank you, everyone. Okay. So let me introduce First from my side, I am Dr. Vivek Tiwari, Dr. Vivek Tiwari. I'm going to handle this subject and the subject name is Advanced Machine Learning. This is the PG course, if I am correct, and you all are in the first name. My information is correct or not? Please write on the chat box. Yeah, thank you. Thank you. I respect this kind of response for your side and keep on have a same response throughout the semester. Great. So, first, it's common practice from my side. I want to know my class. What kind of students are there? So, know my class. So I will ask some couple of questions I request to everyone because based on your response, I will try to find out the right way what kind of content should be given to you and from where I supposed to start and how depth discussion is required from my side.

I need to decide so openly honestly give the answer whatever the question I am just asking to you later I will take your question one by one please avoid asking the question for a little while then you will be allowed to ask any kind of question so first let me ask what is your previous degree. It is B.T.E.C. or B.Sc. or M.Sc. or B.A. or also mention the branch. Suppose you are from CSE side background, you are from IT, you are from EEE, you are from civil or anything else like physics all those things okay everybody please so that i can understand uh the ratio of my class so we take cse civil engineering great triple e bca mechanical okay electrical and electronics great telecommunication mechanical okay okay civil bscit biotechnology mba great electrical engineering okay okay okay okay okay mechanical cyber security mechanical robotics msc mathematics okay yeah biotechnology great chemical engineering yes yes bsc math

That's great. Okay. Okay, got it, got it. So like I am taking this subject with IIT partner for many years, I think, last three years. So I was expecting the same ratio like we have a mixed student. Don't take it otherwise if I call you a student, I know you are a working professional, many of you. okay so you are enrolled is to a student in this course so you are the mixed means uh uh you have uh many students having csit background and there are many not from the csit background i got it okay so this is the problem for me i think as a teacher you would realize this is the problem for me because we have a student having expertise in the different domain. You are all our expert in the different, different domain. But the subject that is given to me that is advanced machine learning. Okay. So it's obvious many of you, particularly if you are from CSE IT, might have studied the similar courses in your graduation.

but who are not from CSIT background, their higher chance they don't have a deep understanding about the area of data science if I call data science, that's a bigger area. Am I correct? Okay. Great, great, great. It's very important to know about you, otherwise you will not, I will not be to the justy uh justify with you all okay this is now a question from cse it background understand this is a question from cse it background how many of you have a i i must say average or good understanding about machine learning about machine learning or just you are the or you have a just basic basic idea about the machine learning you can write like that basic great okay basic knowledge okay that's great got it got it so it is good news for who are not from cse it background it is good news because who are from cse it they are not much ahead of you in this domain they are have a new and beginner uh or or they are the beginner

or they have the basic uh idea about the machine learning great great great so i think everybody agree uh handling totally uh two different uh uh uh kind of student that the the the student from not CSE IT background and a student from CSE IT background. It make my task difficult. I think everybody agree? My task difficult as a teacher. Great. So I want to share one important thing. When I start the course, great. When I start the course, start the course, particularly student who are from CSE IT and have a basic idea about ML, if I pick any of the topic, any topic that is very basic, that is very basic, okay. If I cover and you already have that basic idea about that topic, be with me. Don't say, sir, this is a simple topic why you are covering. Why? Because there are many students that don't have idea about that topic. So it's my duty to first bring you all at the same platform, at the same level.

OK, so it may happen sometime, may happen, not always. The topic that is being covered, maybe you are having the idea about. okay okay but believe on me uh i will try to represent any of the basic concept in the different way in the different dimension you'll enjoy it you'll realize you have not understood or you have not seen that topic in that dimension then that that is my promise you'll enjoy it i will start from the basic now very important part very important okay everybody everybody please careful over here what is the subject name advance machine learning agree so if you i will also share the slavers right now yeah okay first first please please uh uh have a discussion with me only and uh whatever i'm asking only response that part later you will be allowed you will be free to ask any kind of questions I will give you every answer don't worry about that since it is a first class many things I need to fix

I need to bring you in the same platform and what are your expectation what is my expectation how I will run the course first understand that part then we have a lot of time full semester for question and answer okay got it so i will share the slivers wait for that one advanced machine learning means what because it is a pg course so iit patna or whoever designed that course what they assume it's it's a problematic part i am discussing very problematic part everybody must be clear later otherwise you will complain. They assume that you have a good understanding not average good understanding about the ML. They assume that whenever they design this course advanced machine learning it is a first semester course and we assume that you all have the good understanding about the ML. In this view the slavers is designed. Okay in this view they assume this and the syllabus has been designed okay so it is a problematic or not

whatever i am asking just you need to focus over here later uh question answer session will be there this is the problematic for both as a teacher for me as a student for you okay so since i am taking this subject for for many years so i have a solution okay the syllabus is there that is important but i will start from the basic i will start from the basic okay basic ml okay so so like like what is what is modeling it is not given in the syllabus we assume that it is what is modeling what is training what is testing what are the features what are the variables okay what are the uh performance measure performance measures okay and and and many many many many many many many more things okay so this comes under the basic of ml it is not in your syllabus but if i start your syllabus directly 50 or 50 percent or I think 70 percent of you, even you are from CSEIT, you will not get anything. Why? The reason. In advanced machine learning, it is a nothing but it is a deep learning. Okay, let me

see. So it is advanced machine learning. The course is given in first semester. Okay, 90 percent is deep learning. I will open that course. Don't worry about that. So we assume that you have a good understanding about the machine learning. That's why you're going to start from the deep learning. But it is not possible. You are in the first semester. You have not any idea about the machine learning, basic fundamental, basic terminology, terms and many concepts are there. Many, many, many important concepts are there. If you don't have that idea, you cannot go or you cannot understand if I start from a deep learning okay so you need to answer first should I start with the basic first first question basic ml so that everybody either you are from mechanical civil biotechnology you'll enjoy and you'll understand the basic concept then we can jump to the deep learning part are you agree or either I can start directly from deep learning

I'm audible okay great great great I agree yeah now I have a second issue you please listen carefully if I give 20 to 25 percent 20 to 25 percent time in basic that is a sense here basic ML. So, there is chance some of the topic of advanced ML, advanced ML, some of the topics, some of the topic, very few, very few topic will not be covered during this semester. Very few topics. It happens. Is it clear? Very few topic will be there. Otherwise, I will cover everything, everything, whatever in your syllabus, I will cover everything. But it obvious because I'm starting with the 24th or 25 percent syllabus or courses that is not part of your syllabus but it is required okay there is no possibility of the extra class i will cover basic plus advanced ml there may be a chance where few topics of your advanced ml uh may may not be covered that that is only one doubt and one issue. Okay, we will discuss about the exam, other things,

don't go in that part. First, let me have a clear setup how the course is going to run. Okay, okay, great. So, I will start from the basic. I agree. Now, come to the syllabus. Okay, where is syllabus one minute let me find out the syllabus yeah okay come come to the discussion this is syllabus it is visible to everybody so here the first module is about the basic ml I will go in detail otherwise this topic can be covered in two or three classes but I will go in detail okay so this is about here I have written machine learning first I will cover about the machine learning basic okay then we have a second big module about the deep learning there are a lot of things are given in a deep learning like LSTM RNN attention gain auto encoder this is is about deep learning from the scratch I will start okay because in this course there is starting from the encoder. You see the course deep learning. They are starting from the encoder. That is one of

the advanced topic. The basic of deep learning is not here. So I will also start from the basic deep learning. Then we will go for the advanced topic of the deep learning. I will say I will say don't worry about that. And third module is about here about text handling, natural language processing, natural language processing and many more things. So I will give a lot of focus on the natural language processing. Time series forecasting means text data is a kind of time series data or sequential data. It is more about the natural language processing. I will cover it. So we have three basic things in the cover that are going to be covered in the next this current semester basic ml deep learning and nlp is it clear the picture should be clear to everyone basic ml deep learning and nlp okay yeah so okay there are a lot of questions about advanced machine learning deep deep learning itself a very huge subject okay somebody somebody

have asked the question. I will take the question later. So I wanted to know what part may not be covered in advance. Almost some of the case study, I will not be able to cover. Otherwise, everything I will cover. So that is the worst case I have discussed. Otherwise, whatever it is written, I will cover. Suppose case study about the bioinformatics, it may not be covered. but algorithm and and and and and the models if uh it is written over here i will cover everything okay no no there there is a uh dedicated subject in your syllabus maybe in the next semester next to next semester nlp where the uh large language models will be there here we have basic nlp okay you need to understand nlp is a complete course how you can expect complete course of NLP complete course of deep learning complete course of machine learning can be within the one semester or within the one subject. First clear your all assumptions understand the feasibility

okay this is very heavy subject if you try to go each subject as individually so this course is like that machine learning basic NLP basic deep learning having some advanced topic Okay, whatever the course or topic I am covering in the classes, the video lecture will be there. Additional video lecture will not be there. Okay, first discuss that part, then we'll have other questions. Okay, wait for the other questions. First, is it clear? Please focus on the screen. Basic ML. Okay, deep learning, basic and advanced topic and basic NLP. Is it clear? Is it clear or not? great yes now okay okay okay okay in between yeah thank you thank you thank you great so since all the classes we are here in the online mode so it's my duty to discuss some of the etiquettes to attend the online classes even though you all are the mature or PG student but even it's my duty to revise those things And during the chatting, you should be respectful.

You should not use any harmful or disrespectful word to each other. You should not discuss each other. Whatever the questions you have, you can write on the chat box. If I'm asking some questions, you need to answer only. okay don't spread the false information during the chatting don't copy paste unnecessary any link okay and uh online classes itself a lot of hurdle things may be delayed so so try to understand all those technical hurdles of the online classes okay use appropriate language do not try to enable the mic whatever the questions you have you only one way to discuss with me that is a chat box so not try to open the camera do not share any of the link most important part if you are try to log in with other than IIT Patna domain email ID you will not be allowed to enter the class so you all have to use the iit partner domain email id to enter in the classroom okay is it clear to everybody is it clear to everybody great now okay very important part

very important so you know this advanced machine learning have a two classes in a week we will have we will have a lot of technical discussion don't worry about that first let me set up the uh class in advanced machine learning we have a two classes i think today like Tuesday if I am correct 7 30 to 9 and then we have a Saturday I think 9 30 to 11 am I correct great okay one small update it you will be notified next week onward this Tuesday class going to be changed bit it going to start from 6 30 to 8 it will be notified then you can act this is small update from the next week onward okay yes we saw you will get it we saw wait uh don't ask uh any other questions right now okay every questions uh you will be allowed to ask later. First focus on here, what am I explaining? Okay, first important. Now, how to run the course? I have three options. How to run the course? We have three options. Either only theory, first let

me ask the question then response. Only theory means all the two classes will cover only theory part. Second, no, we want only the code or implementation or practical or you want both. You should answer theory plus code or implement. Use the options. Great. I'm happy to see it. You are looking more about the implementation. Otherwise, no use of this course. Agree. Agree. The right decision. Right decision. Okay. So in the continuation. Okay. Here most of the time not always. Most of the time. Most of the time. Okay. Yeah. Most of the time. the Tuesday class, Tuesday class will be theory class and Saturday class will be coding or implementation plus theory also if possible. Is it clear to everybody? Whatever the topic will be covered in the theory, the same topic or skill you have to improve during the coding classes. Is it clear? It is not fixed most of the time. Okay, most of the time it happens.

It may happen both the days theory classes sometime also happen if I feel I need to take more classes so I will convert Saturday classes as a theory classes also. Okay, that is the one setup. Ultimate, you need to understand we are going to study theory plus code both. In which day that doesn't matter theory plus code okay that is the main idea now it is about the implementation so here we are going to use python only you are free to practice any of the language but but all the languages and to use in the coding class is not possible so python will be used Okay, any doubt, any question? Okay, so there will be one issue with non-CSIT student. I request the student who are not from CSCIT, this would respond more. Otherwise, the class will go in a different direction with some assumptions like everybody know the Python. So you should answer, sir, sir, we don't have idea about the Python, why you are not writing.

okay so the student from CS or student that are not from CSEID they should write sir we don't have any idea about the python am I correct or you all are expert in the python let me know it accordingly I will design the course or contents non-CSEID yes okay so what I will do what I will do initial or beginning initial code classes code classes what we will do introduce the python python functions python library okay how to import the data how to import or export or data that I will cover only that part else you have to try at your end so I introduce Python and basic I think two or three classes two or three classes meanwhile you will improve your understanding about the ML then coding of ML will start that is my plan are you agree I will continue to cover the basic ML in the theory part meanwhile in the coding classes introduction of Python of basic will be covered we are not going to teach Python at all only to just make you familiar

about the Python what it is, what are the editors how to write the code how to run the code, all those things yes, yes, that's why Abhishek, I agree. That's why initial classes only because you might have an idea about the Python, but many of you have never seen the editor of the Python itself. That's why only two or three classes or all the libraries and everything, all the functions we are going to cover that is ML oriented agree like a panda okay panda library it is about uh uh more about handling the data so okay so basic python is also towards to the data science agree it's towards to the data science yeah okay now the most important part don't worry anand you will enjoy uh most important Okay. If you refer any of the IIT or NIT or IIIT kind of institute, whenever they run the course, there are a couple of persons involved. okay so here we call instructor sometime or teacher okay sometime we call teaching assistant

okay sometime we call uh uh uh some scholars do the teaching assistant like a phd scholar or mtech scholar okay so now i'm going to discuss about this course only yeah This course, theory part, I'm going to take, understand that important discussion. Code part, there is Dr. Mayank, he is going to take, he's taking this advanced machine learning coding classes for last two or three years. So all your seniors are already familiar with the Dr. Mayer. So he is very expert in that area. Now, sometime additional faculty may join with me Dr. Asis Patel. Sometime, not always. So if I try to see most of the courses like 75% course, I will take remaining 20 to 25 percent part will be taken by Dr. Asis and coding class almost 90 percent coding classes will be taken by the Maya. Is it clear to everybody? Most of it will be done by me. Who is driving this course? Who is driving this course? Dr. Vivektiwari. Everything will

decided by the Vivek Thibault. Other persons are only helping me. They are teaching assistant. Agree? So Asis Patel may be here for some of the algorithm and model of deep learning he will cover. Mayank will be with you for implementing or coding classes and I will drive the course. I will cover the basic. Asis Patel will not cover anything basic. He will cover the advanced topic. agree so don't worry about that i will control both of them how to start what topic need to be covered everything i will control mayang will start from the basic like python okay any question uh a lot of time limit i cannot do everything i have a lot of other things other student other classes okay okay so will the elective sufficient for ai job okay so do not answer of this question is do not depend on the courses that are being offered in the iit patna every student has to do additional learning additional practice need to gain the skill

we have hardly 30 classes in this semester you can expect within a 30 classes nobody can cover everything so here we are a faculty member to give you exposure or the subject will give you introduction of the subject else you have to prepare at your end do not bring any kind of Like every detail will be covered in the online classes and you will learn automatically. It is not going to happen. We have a limited time, limited classes and whatever the best possible teacher will cover. But it will not be sufficient, I agree. Okay? Udit Nayar, this course will not be going to be difficult at all. Believe on me. Within a one week or two weeks, you will be realizing the course content is difficult, really. Course is complex. But the way I will run the course, you will feel it is the simplest one. It's the responsibility of any teacher to put and explain the concept in the simplest way. Otherwise, a lot of video channels are there.

Videos are there. Books are there. You can refer. So, my responsibility is to put the concept in very simplest way. In later complex part, you have to understand, you have to improve your skill by your analogy. Okay. Any questions related to the course or class setup? Any questions? Now, it is completed because. how the course is going to be with you how the content will be covered how many persons will be involved what are the role of each person's i have explained everything okay i will discuss about the reference book later okay sir it will be the industry use case is nissan we have only 30 classes if you are expecting to cover everything like ml or dl or nlp or industry use cases it is your expectation is not genuine okay nissan you just go to the slavers or see we i require a magic to cover everything i don't have i will discuss about the exams don't worry Okay. Okay. One important question about it's every, every session, every session being recorded, every session, whether it is a theory class. Plus, it is a coding class. Every session is recorded. Okay. Whenever you have time, you can see the recording multiple times. Is it clear?

in your Moodle you need to find out where is the recordings okay in a Moodle there is a recordings in every session is being recorded and you will get it first I think many of you are asking the same question I think it is clear now about the book we will discuss later any other question this question is not a right time to discuss this question because other students don't have that understanding. I will take later. Okay Udit, this is the first class so understand this is not a right time to discuss that question. Immediately. So Satyam, I think within a one day, maybe suppose this class happened, maybe at midnight recording will be available to you. Immediately I must say okay. I think attendance is not an issue. I don't have much idea about the attendance. I think it will be recorded. Okay, about the marks, about the exam. Okay, another important question about the exam. Okay, I think there are some assignments.

Assignments are there. I think there are five assignments and all are MCQ based. There are quiz, I think two or three quizzes there like that. This is MCQ. Based on your performance, the grade will be given to you. Any other question? First discuss here about the examination of this course. Performance in assignments, performance in the quiz all are going to MCQ. The way you will perform, your grade will be given. end term also quiz we have end term quiz there is a there is a terminology end term quiz also there okay similarly we have a mid term quiz is it clear to everybody two three means there may be two quizzes there may be three quizzes just depend on the courses okay asis jagdish misra i i'm running this course for many years so so sir leave on me how I will execute okay otherwise if 200 students are going to give all the suggestions we will not do we will not able to do anything okay Jagdish I don't think all exams are MCQ why you are asking

unnecessarily questions I have written clearly from this course all exams are going to be MCQ it is clearly mentioned Saswat I have already explained I think you are not attentive at that time you can go and just see the recording everything I have explained everything whatever you are asking I have explained already all exams are going to MCQ end term quiz mid term exam kind of terminologies are being used There is no any written exam like a descriptive or theoretical exam. Okay. Any other question? Any other question to the setup for online exam or assignment? Yeah, all are based on Vrtika. Vrtika, I am not getting your question. I don't have any idea. Somebody is asking, can we leave, sir? It's up to you. If you don't want to attend the class, you can leave. I'm not going to stop anybody to leaving the class okay so now let me let me start the course okay Capstone project is not a part of this course there is a a separate credit is given

to the Capstone project I think you have to do it so you can get the details from the IIT pardon about that one I don't have any about the specific laptop you can you can you can do the research at your end do you do we need anything apart from no Python editor is enough okay so now if you don't have any questions here we can start the course okay so starting course what is what is machine learning learning. I will explain from the basic what is machine learning. For just beginner purpose, if I speak about what is machine learning, what is deep learning, what is AI, assume that I'm talking about the same context. So whenever I'm explaining about what is machine learning, the same thing is about deep learning, same thing about AI. It is not right time to discuss how AI is different from DL, DL, different from ML. Don't worry about that. So this is from the common basket. So let me explain what is machine learning. I don't believe on memorizing the things but

I search some definition of the machine learning or AI from the internet or from the other resources. that is the most common definitions or sentences about the ML I got it. So first I will read it and will explain for you what is machine learning because you need to start feeling about the course. You should not memorize everything. You should feel the course what is machine learning. So first I will read then I will explain each and every part with some examples. machine learning provides a system with the ability. What kind of ability? Automatically learn and improve from experiences without being explicitly programmed. So some of the terms here, I have highlighted in the different color, you have to give attention on those terms, like what is the meaning of automatically learning process, what is experience, what do you mean by explicit programming or implicit programming, we'll explain in detail.

Machine learning focus on developing or the computer program that can assess the data and use it learn from them themselves. The primary aim is to allow the computer to learn automatically without human intervention. So there are some terms that you need to have a detailed discussion like automatically learn, explicit, implicit programming and other related things. So, now here I will explain in two ways what is conventional programming, what is conventional programming or conventional way to see the problem and what is ML or AI based programming. That is the topic. It looks very simple but very interesting. So there are two ways I will try to discuss the concept of ML. First what is the conventional programming or conventional way to see the problem and how it is different from ML or AI based programming that is a topic. So the question is that what is the conventional programming? Conventional programming means what?

So like what kind of program you have written in the data structure if you remember. searching, sorting, you have written a program for basic scheduling algorithm in operating system okay like a program for addition of two number addition of two number program i think you have written okay a program for factorial program for fibonacci series okay and many many many many many such things The way you write the program, in this example, we call it the conventional programming because here you are not using any kind of ML or AI concept, agree? So the question is how ML is different from the way you are used to write the program conventionally. That is, that is, that's if you need to understand. That is very important. That's if you need to understand. So I will take the example. I will explain with the example. I will take the example. And this example I will solve by using the conventional programming.

I will solve, I will try to give the solution by using the conventional programming. same example same problem i will solve using ml or ai concept so that you start feeling how ml based solutions are different from the conventional programming based solutions it is nothing but in in the core the question is the way you look the problem the way you look or solve the problem whatever the problem is given to you answer is here if you change your dimension to see the problem it can go to the conventional programming the moment you have a different dimension you can go for the ML or AI based solution okay great so let me explain with simple example i think everybody uh uh you everybody from your site you have experience whenever you go for register yourself any of the website any of the website so there is a one experience you might have seen uh there is a normally have a text box of a email id so when

text box is given i think everybody agree so here you need to enter something any of the email id whatever the email id you have and they agree in almost everywhere the online registration they ask the email id sometime you please uh tell me your experience sometime it gives the error message error message like please enter please enter valid email id valid email agree i think all of you have are familiar with this kind of issue i think everybody agree please write on the chat box am i correct very simplest example i have taken that everybody have gone through it okay yes then my question from my side how it no how system no how system no no the email id email id is correct yes and no that is the question yeah yes agree agree so answer is here very simple answer i think everybody are writing the correct. There is a fixed format of email id. I think everybody, there is a fixed format of email id. Okay and email id have a two part. The local part, local part and we have

a domain part. The local part has some rules that everybody has to follow. Similarly, the domain part has some rules. Am I correct? I'm going in the right direction? The fixed format of email id, everybody has to follow it. Okay, so what happened? Yeah, so like email id having a two sub-part, local-part and domain-part. Just as an example, some guidelines and the rules for the local-part is like that. Local-part must contain a ASCII character. It can have a capital or lower A to Z character. You can use the digit 0 to 9. Some special characters like or symbols are not allowed. Dot is allowed but not at the first place. Space is not allowed and many more rules may be there. Am I correct? Yeah. So Subham, Pandey, whatever you are writing, ultimate that library, implement all those rules. Am I correct? Yeah, so there may be many rules. Just an idea. There are a couple of rules. You have to follow it. That is a basic understanding.

Okay. So, how you are implementing. Now, suppose the problem I have given to you. The problem I have given to you. A task I have given to you. What is the name of the task? Write a program. Write a program. To check. check enter email id is correct or not. So this is the program or task is given to you. Now what I want to show you, suppose there is a student A and there is another student B. B, student A adopted conventional programming style, conventional programming style to solve this problem, where student B have adopted AI or ML based solution, agree, I will give you both the dimension, first let me explain about the conventional programming style, The same problem can be solved in two ways. My objective is to allow you to start feeling of ML, how it is different from the conventional program. Agree? So, I am discussing that part, how to solve. So in the simplest way, simplest way I am discussing about, simplest way.

What you will do, you will write a code. I think everybody know. In the code, whatever text I have entered in the email id text box, the text means this is email id. Assume that this is the email id. Suppose it is written abc at the rate gmail.com. So I can call it text or I can also call it a string. So what it will do? I will write a function, I think everybody agree, I will write a function and then function I will pass whatever the user have entered, agree? I'm not going to discuss the syntax, just an idea, just a flow. So I will call a function and the function I will pass whatever I have entered in the text box that is a, suppose I have entered abc.com, gmail.com. Now, in the function, there will be many if-else statements. In each if statement, one condition I will check. Suppose there are five conditions. Then I will check the second condition. Condition means rule. Whether the rule is satisfied or not.

Like that, like that, like that. Whatever number of rules are there, I can check here. Okay, like I will check here all are if number has been used, it is within 0 to 9. Spatial character is there or not. Spatial character is there or not like that. Okay, space is used or not, space is available like that. So such kind of rules I have to check by using if else, if else, if else. Up to this moment it is clear. Suppose this is a complete program I have written. So these are only the rules. Similarly, there may be many rules, many rules. I just need to code in the form of if else. You may be from the civil, you may be from the the mechanical, I think I'm not using any of the syntax in a simple, common, logical way I'm explaining. Everybody should got it. Okay, so if all the conditions are true, now the case this suppose input is abc at the rate gmail.com. Suppose this is the input. So all the conditions

are true. Agree? All the conditions are true. So it will not give any error. But suppose you have type ab space c at the rate gmail.com. Suppose you have entered this email ID. So look, this is the condition where it is checking whether space is present in the given string or not. So it will catch it because here is the space. So it will become false. This condition will become false. So error message will be common error message. Common error message will be enter valid email id or enter id is not valid. The message will be here. Concept is clear to everybody. Everybody means if you are not from the CSIT background. Particularly, I'm interested to discuss those who are not CSIT background. Very simple. How are you going to write the code? Doesn't matter. This is an idea. Okay. Now, the same problem I need to solve with ML or AI concept. Agree? Here, you need to be very attentive. Very attentive. First important part. Data is must. Data is must. There is no

other options. Data is must. Without data, you cannot implement ML concept. Is it clear? First important things you must clear. Data is required. Without the data, you cannot do the modeling in machine learning. So, the question is why. The question is why. It's very interesting. First, let me explain the procedure. Then I will answer this question while later. So, let me the procedure. Procedure. So, what happened? We required our data. Okay, like this. This is just a simple example. In the data set, you require thousands of email id. You require thousands or millions of email id. Samples you require, data you require. For example, suppose you have a CSV file or you have an Excel file. suppose that it is the csv file assume that okay assume that and how many rows are there suppose 10,000 rows are there 10,000 rows means we have a 10,000 email ids okay so this is the email id detail for one row this is for second row this is for third row like that like that

Similarly, we have many columns, many columns, many columns, many columns, many columns. Here the email id will be there. A lot of email ids, a lot of email ids, all possible email ids including how, correct email id or invalid email id, both the examples we need to add in this excel file. Here are the features, I will discuss later that part, here a lot of columns will be there. We call it features. Last column is very important. We call it class label. So here what will be given the correct answer? It will be given the correct answer. What is the answer? Whether this email id is correct? correct, then I will say yes. If the second email id is invalid, we will say no, like no, like yes, like yes. Such kind of data set is required like this. All the possible combinations are required in your data set including correct email ids including all possible incorrect email id all the possible examples we need to include don't worry about your features and the last

column is about target variable or class or correct answer if you try to read this excel file this is the email ID is written high at the rate something it is correct yes second email ID is also correct third email is also correct and bottom of some four or five email IDs are given that is not correct so this kind of detailed data set is required is it clear to everybody first question just basic don't go in detail what are the features what and how many columns will be there don't worry about that. Great. You are so intelligent. Now, come to the next part. Suppose we have ML algorithm. Don't know what it is. It is an ML algorithm. There are many, many, many algorithms are there. You assume that one machine learning algorithm you have taken. Okay, I will discuss many algorithms in this semester. This data you have to give to the algorithm. This complete data, whatever the data I have discussed, this complete data you have to

give to this algorithm. What happened? This algorithm scan the data multiple times. Scan the data, scan the data multiple times. Why? Now you can just sense it. What this is the data set, there is an ML algorithm, ML algorithm will read or scan their data multiple time, multiple, multiple time. In simple way this process we call training. This process we call what? Training or learning. Is it clear? Any of the ML method you need to choose. You need to feed, you need to give this data to the ML algorithm. Algorithm will scan the data multiple time, multiple time. It is iterative process. And this process we call training and learning. Okay. So why we call it training and learning? Because what it learns from this process, what your ML algorithm will learn? Learn the pattern. pattern of correct email ID and also it learned pattern of incorrect email ID because it has seen this detailed data. These thousands of emails are there.

Millions of emails samples are there. By scanning it, it also given the answer which email ID is correct and which email ID is not correct. So through this process, your ML algorithm will learn the pattern of correct email ID and pattern of incorrect email ID. It looks logical for you. How it will learn? It's a part of course. Just in black box, you assume that it will learn the pattern of correct email ID or pattern of incorrect email ID. Is it clear? Okay, now in the real time, in the real time, this text box is given. If I will enter the email id at the rate gmail.com like that, it will go to this AI model, whatever model you have trained, agree? As an input, your model will predict. what your model will predict because it already learned something the pattern of correct email id it will predict either it is incorrect or correct agree it looks logical for you now you are in better position now have some questions now i have a questions

This is the conventional style, conventional style. This is ML style. Now answer or solution we need to give in which method? Whatever the problem is given, where you need to provide the answer from the scratch? No, no, no, no, no, no, no, no, no, no, no, no, wrong, wrong, wrong, wrong. Here you need to provide the answer. we don't need to provide the answer answer means in ml style you tell me we have given the rules what are the rules have you given the if else statement never we have not given these rules we have not given understand the question answer is within the rules these rules we have not given the ml style look yeah these are the if else if else if if else. These rules we have encoded in the conventional style. In the ML, we don't have any rules. We have only data set. Okay. Is it clear? That is one big difference. Yeah. So means it learn by themselves. It learn by themselves. That is the idea. Okay. They learn

by themselves. They learn from the data and sometimes data we call experience. Experience or data all are the same thing. Agree? Is it clear? Okay. Now I have a second question. Please focus over here. Suppose rules are changed. rules are changed. Assume that now space is allowed, space in the email id is allowed. Now you tell me what you need to do in the conventional style solution and what you have to do in ML based solution. You tell me. Already earlier both the solution you have implemented, now suddenly somebody has changed the rule, space is allowed in the email id. What we have to do? Here only one if-else statement we have to change. I think every if-else statement, only one. One piece. Non-CSIT student, is it clear? In the conventional style, only somewhere in the one instruction, one sentence I have to change in the if as the statement where space is allowed. Then it will work perfectly. Agree?

Here what we have to do? We need again a data. Again a data set. The data set must contain the email id with respect to the new rules. Okay, again the data set is required. again training so that model can learn this new rule because in ml based solution we don't give the solution directly the ml has to learn from the data okay is it clear to everybody right yes no yes not csit student non csit student particularly i have a third question for you third question which is more accurate which is more accurate conventional style programming or ML which will give you correct answer always this it may give wrong answer I think everybody agree which is easy to change easy to change the requirement like we have seen the email id space is allowed conventional or ML? Conventional. Great. You all are correct. You all are correct. Great. So, the next question is, conventional style is better in all the way. All the way. Then why we are learning ML?

It is useless. ML can predict future. No. This is the good question. Why do we use ML? ML handles the data, so it is a headache. Why do we require data if you can solve the problem by using the conventional style? Why do we need data? I don't want it. No, ML can reduce the effort. No, it can increase the effort. Always increase the effort. No, no, somebody's writing, ML reduces the human labor. So who needs to make the dataset? Because it goes, it never reduces the human effort. You need to create a dataset that is a labor's work. No coding is required. Somebody is writing in ML-based solution. Coding is not required. No, no, no, no, no, not at all. Huge dataset handled by the ML. That is a problem. Why we require a huge dataset? If you can solve the problem using the conventional programming, it is a question. MN is designed to replace the conventional programming. No, no. Aman, you are totally wrong. ML is never going to replace the conventional programming.

Never, never, never. Okay, let me explain. Okay, wait, wait, wait. Nobody is going to replace conventional programming. Yeah, answer is here. Yeah. Wait, wait, wait, wait. Great, you are trying. I'm happy to see it. Answer is here. Very simple answer. you are running here and there not necessarily simple answer you give me okay wait wait if a problem is given if a problem is given come to the discussion please where mathematical or logical or any kind of solution is not exist, is not exist I am not saying it is not known not exist. If this is a situation can you solve by using the conventional programming? Because in the conventional programming if you don't know the solution how you are going to write the code? Basic idea. From here you should start thinking if any case, any problem is given where any kind of solution is not exist, how can you solve that problem in the conventional programming? Agree? Can you give me the example of such problems?

Example. Then you can also tell me the example. Give me the example of any problem where the mathematical logical solution is not exist. All are correct. You all are correct. All are correct. Okay. Keep the discussion very simple. Okay. The problem I have given. Recognize cat and dog. Simple problem. Image is given. Image have a cat and dog. Can you write a mathematical formula? Do you have a mathematical formula to define any of the object? For example, cat and dog or any object, it can be a car, it can be an apple, it can be anything. No? Yeah. So here ML come into the existence. This is the scope where we use ML. We should not use ML if you know the mathematical formula or mathematical solution. Where the conventional roaming always works better than ML. But situation is like that. In any case, you should go for the ML. So how ML finds the solution if solution does not exist? How it finds the solution? Now you will

answer automatically. How ML finds the solution if solution does not exist in mathematical way? great answer is data now you can answer why data is important why data is important in ML now you have a clear understanding the role of data because data is where that contain the solution that contain the solution or answer your algorithm has to learn, has to find out their solution from the data. We don't have mathematical solution, mathematical answer, but answer is within the data. So your ML algorithm have ability to find the solution from the data. That's why we call it automatically learn. Got it? Auto-matic. Nobody is going to give the solution automatically learn. It is called implicit programming. What? Implicit programming. Implicit programming. Okay. There is another kind of programming, you know, explicit programming. Explicit programming, like a conventional program. Here we have to give the solution manually,

like a factorial number like a Fabnosi series like an addition of two number, like an area of circle, like a searching, sorting whatever you want, okay so that is called explicit programming now you have a better understanding about this definition everybody let me finish first, everybody machine learning provides a system the ability automatically learn means nobody is going to teach them and improve the performance from the experience means data without being explicitly programmed without being explicitly programmed so now you have a clear understanding about ml i will take many questions don't worry about that first first start feeling it what is ml last one minute discussion. Suppose it is again very interesting. This is ML algorithm. Okay. Okay. Case one. Case A. If you give you data of cat and dog. Cat and dog. What ML will learn? Tell me. Under the case A. Pattern of cat and dog. Agree? Pattern of cat and dog.

I think everybody agree because thousand of images of cat and dogs you need to feed into the ML algorithms after the training it will able to recognize cat and dog yes great great whatever the internal process I am not discussing it is feature extraction is something something I am not discussing it is correct okay now the same algorithm you are not making a single line change It is very interesting. Very interesting. Case B. Now I am feeding the images of laptop and mobile. What happened? Case B. What happened? It will learn the pattern of laptop and mobile. Am I correct? Am I correct or not? Great. Observation is what? I have made any changes in the ML algorithm, any code that is written in the ML algorithm. I have not made any of the changes. Agree? Where I have made the changes in the dataset. So what is the meaning of that? Algorithms don't have solutions. algorithm don't have solution. Solution is within the data set. You change the data,

you can change the behavior of the algorithm. Agree? You don't need to make changes inside the code of ML algorithms. The answer or solution lies within the data, not within the algorithm. are many questions I will take later. First let me finish. Is it clear? It is interesting or not? That's why you keep that thing and read this sentence. Memorizing the things are very easy but I always prefer to understand. Okay, I'm reading for you. Okay, it's again very interesting. However, yeah, okay, here. Machine learning program is written to find the pattern in a given data set. A machine learning program is written to find the pattern in any given data set. Program itself does not know anything about the type of pattern need to identify. Agree? Program does not know anything what the program is going to do. Like this example. The solution is not written in the ML algorithms. So by reading the ML code, you cannot understand what the code is going to do.

Okay. Like in the conventional programming last discussion. In the conventional programming, suppose I have written a code of Femnosy series or area of circle. Agree? the code is written okay okay if i give this code to you by reading that code you will be able to know what what for what purpose the program was written if the code in the conventional programming is written for calculating the area of the circle addition or to number anything it may be a quick short code so by reading the code you will easily know what the purpose of the code agree i think everybody agree but if the same question i'm asking about ml if ml algorithm code is given this code is given can you tell me what the code is going to do no no because same code can be used for learning the cat and dog same code you can also use to learn the laptop and mobile this is how ML the programming is different from the conventional programming yeah so it is

all about for today class now you have a better understanding about what is ML otherwise people can teach the ML definition within a one second and just pick the next topic I have taken complete one hour to explain what is ML there will be many questions I know we'll pick in the next class we have a complete one semester all the questions all the understanding cannot be possible in one day so slowly slowly layer by layer layer by layer i will explain the things so okay thank you next class for uh python introduction okay saturday first half thank you for your kind words don't worry about the course you will enjoy it don't worry about the whatever we are covering in the in this time you should enjoy that is a minimum requirement you should not feel any headache or stress okay thank you we will meet again next week Saturday Python introduction

