K-Nearest Neighbor Classification ll KNN Classification Explained with Solved Example in Hindi

Поділитися
Вставка
  • Опубліковано 8 січ 2025

КОМЕНТАРІ • 385

  • @amritsharmapoudel959
    @amritsharmapoudel959 5 років тому +542

    Because of your videos, my professor said: 7:11. Thank you so much!

  • @DarlingHiroXX
    @DarlingHiroXX Рік тому +52

    if someone like myself is thinking how to find the value of k, so here it is:
    K should be the square root of n (number of data points in the training dataset).
    K should be chosen as the odd so that there are no ties. If the square root is even, then add or subtract 1 to it.

  • @RaghavSharma-ei9hg
    @RaghavSharma-ei9hg 4 роки тому +6

    Thank you very much Sir! i am a student of you but still saying Sirji aapke method of Teaching mein Quality, Effectiveness aur Time Efficiency teeno hai. Aapke Efforts ke liye bahot bahot Dhanyavad.

  • @ritikarai1232
    @ritikarai1232 4 роки тому +6

    Thank u so much sir...aap wo concept 5 min clear krdete ho jo hamare teachers pure semester me nhi kr pate

  • @SATHISCAT1
    @SATHISCAT1 4 роки тому +9

    Sir , Great explanation , thanks a lot , am having zero knowledge on this,but learnt because of you

  • @asfandyaarkhan2068
    @asfandyaarkhan2068 4 роки тому +9

    Brother Thank you so much ! All concepts cleared

  • @toieyat1955
    @toieyat1955 3 роки тому +6

    You are such a good explanator! Very well explained

  • @arushisaxena2936
    @arushisaxena2936 6 днів тому

    sir you're a gem, thankyou for the easiest and detailed explanations!

  • @jo-ti
    @jo-ti 5 років тому +10

    It was really very helpful for me. Your way of teaching is really very good.

  • @omkarsurlakar3829
    @omkarsurlakar3829 Рік тому +2

    The bestest channel for last minute preparations in machine learning 💯💯💯

  • @krishnamohanverma4984
    @krishnamohanverma4984 5 років тому +137

    Has anyone noticed that we can directly conclude pass from the second row of the given data :D BTW Nice explanation

    • @haiderwains3791
      @haiderwains3791 5 років тому +26

      yes we can conclude from the 2nd row but if data set is large then difficult to conclude.Thanks

    • @alphagamma7662
      @alphagamma7662 Рік тому +2

      No we can't because we need to see CS marks too

    • @pratikgt3724
      @pratikgt3724 Рік тому +4

      ​@@alphagamma7662 its 8 more than 7, so technically he is passed 🤟😂

    • @vaibhavmoharkar2349
      @vaibhavmoharkar2349 Рік тому +5

      But it is not for us.
      It is for computer?
      Is it computer has brain like you?

  • @tejapanatula
    @tejapanatula 5 років тому +2

    Thanku sir we are very fortunate to have this UA-cam channel as well as your way of teaching and skills got to you

  • @Flowereacer89
    @Flowereacer89 3 роки тому +10

    Sir, this is high quality stuff.

  • @bibekanandabhattacharjee952
    @bibekanandabhattacharjee952 3 роки тому

    Thank you , very very much.
    मैंने कितना वीडियो देखा पर यह सबसे अच्छा हैं.
    Please also tell how to choose or select "K".

  • @adityajoshi1606
    @adityajoshi1606 4 роки тому +1

    thank you so much for creating such videos i am passing my exams just because of you god bless

  • @abhisheksaxena200
    @abhisheksaxena200 6 років тому +10

    This is good. Can you tell me how to calculate distance if the indicator variables are numerical and categorical. For e.g P1={4,6,f,8,v} & P2={8,2,y,7,p}

    • @pratikgt3724
      @pratikgt3724 Рік тому +1

      You need to convert all those categories into numbers like if you have 3 categories v,p,y so it will be converted into 0,1,2. So all the v's in data will get converted to 0, p's to 1 and so on 🤟

  • @gauravverma8974
    @gauravverma8974 3 роки тому +2

    Amazing sir , really understood the concept just in 5 min

  • @patelhemangini5679
    @patelhemangini5679 Рік тому

    kal meri machine learning ki exam hai or aaj mevideos dekh rhi apke it helpss alot sir thank you so much!!!!!

  • @MDSHARIFUDDIN-fs9pm
    @MDSHARIFUDDIN-fs9pm Рік тому

    Thank you very much i cleared many topics because of you .hope my exam goes well.

  • @abhirajjondhale4948
    @abhirajjondhale4948 Рік тому

    Congratulations Bhai Pass hogaya, ab mai bhi yeh vimdeo dekh ke paas ho jaunga 😼

  • @siddharthavchat201
    @siddharthavchat201 3 роки тому

    best channel to study at last night ....Thank you !!

  • @enigma2886
    @enigma2886 4 роки тому +2

    guys dont waste your time on youtube , just watch this video , best video on whole youtube

  • @pritomdas6215
    @pritomdas6215 5 років тому

    wah..keya simple explanation sir...aap kamal kah teacher ho

  • @JackCoderr
    @JackCoderr Рік тому

    You are more than a teacher , a magicial ,,, thank you so much sir

  • @aliasghar2443
    @aliasghar2443 Рік тому +2

    Love the pace of your videos, I was finally able to watch a video in which the instructor maintained his pace and I could skip through and understand everything

  • @parikshitraghav7543
    @parikshitraghav7543 5 років тому +1

    Bhai I just love your style and effort. Awesome video bro.

  • @samvedna7153
    @samvedna7153 5 років тому +23

    I have few questions
    1. Why did you take k=3
    2. Why wasn't 3.16 considered nearest to 3
    3. Had we set k=2 and result as 1 Fail and 1 Pass, what would have been the conclusion?

    • @kartikchoudhary6195
      @kartikchoudhary6195 5 років тому +97

      1. K is the number of nearest neighbours that have to be acknowledged. K is provided in the question usually.
      2. 3 is not the comparison value. That is just the number of neighbours you have to figure out. you have to compare the values to zero. Consider x to be on the origin and you are figuring out the distances of it's nearest neighbours.
      3. k=2 here will give two pass. If it was one pass and one fail then you would have to consider one more neighbour to give you some probable answer.

    • @dhanashripawar2354
      @dhanashripawar2354 2 роки тому +6

      @@kartikchoudhary6195 thankyou for the 3rd point 👍🏻

    • @019_deepdas2
      @019_deepdas2 2 роки тому +1

      @@kartikchoudhary6195 If the number of pass fail is equal and there is no more neighbour then what will be the answer ?

    • @samiishah
      @samiishah Рік тому +1

      @@019_deepdas2 That just means the question didn't choose an appropriate value of k. It will have to be adjusted to include less or more neighbors to consider. I don't think an exam would include such a question unless they want you to explain what should be done to remedy this.

    • @vishaladithya9703
      @vishaladithya9703 Рік тому +2

      k should be taken as odd number only

  • @varunroy2021
    @varunroy2021 4 роки тому

    kdk explaination sir.....Its really the 5 minute engineering.....

  • @hajramustafa6794
    @hajramustafa6794 4 роки тому +1

    Thank you so much Sir, it's my best channel ever😇

  • @syedshasuheb709
    @syedshasuheb709 3 роки тому +7

    Really helpful for exam preparation within a short span of time ,thank u for ur effort sir🤩🤩🤩

  • @WahidMuradChitrali2018
    @WahidMuradChitrali2018 5 років тому +1

    Zabr10 Explanation is real good

  • @choudaryzeeshan9118
    @choudaryzeeshan9118 2 роки тому

    I am very happy sir
    This topic very help my final exam

  • @22gauravkumar70
    @22gauravkumar70 Рік тому

    important observation
    1. if k is not given in the question , always take k as a odd number to avoid tie.
    2. for guessing take square root of n , and if it comes out to be a even number , then add or subtract +1 .

  • @-AbontyChowdhury
    @-AbontyChowdhury 2 роки тому

    Thanks a lot sir. Am from Bangladesh and thankful for video.

  • @samiishah
    @samiishah Рік тому +12

    5:33 Correction: The point is in fact the farthest from x. We are not comparing the distances with k, it just represents the number of nearest points we will consider. We are actually comparing the distance with 0, the smaller the distance the closer it is to 0 and the nearer it is to x! Great video nonetheless!

    • @Bot__gam_ing
      @Bot__gam_ing Рік тому +3

      thanks, actually i confused at that point

    • @richaB_5100
      @richaB_5100 Рік тому +1

      3 is not the comparison value. That is just the number of neighbours you have to figure out. you have to compare the values to zero. Consider x to be on the origin and you are figuring out the distances of it's nearest neighbours.

  • @sougatasen3691
    @sougatasen3691 3 роки тому

    Easiest explanation ever.

  • @tejastejale8310
    @tejastejale8310 Місяць тому +1

    7:45 kr diya sir.....

  • @shubhashishmishra3592
    @shubhashishmishra3592 3 роки тому +1

    Awesome explanation.....very simple and easy yet effective.....great job...:)

  • @sarvanikandukuri7800
    @sarvanikandukuri7800 2 роки тому +4

    Sir, you explained the whole concept in an easy way. Thank you so much!

  • @vaishalisalunkhe6536
    @vaishalisalunkhe6536 5 років тому

    Thanks for this video......your teaching method is toooooo good please give also another example of this point

  • @sarthak_parashar
    @sarthak_parashar 3 роки тому

    Tomorrow is my exam and your short Video are really helpful ❤

  • @zahid_9217
    @zahid_9217 Рік тому

    Finally I got it after coming from the previous semester.

  • @aarohidave1631
    @aarohidave1631 2 роки тому

    Thanks sir paper aacha gaya aapki vagase!!!!🙏🙏🙏

  • @tanuchaudhary245
    @tanuchaudhary245 2 роки тому

    such a good explanation, Thank you so much!!

  • @reactor2208
    @reactor2208 5 років тому

    Super this is how you teach no jargons; thanks

  • @rishabhgupta9617
    @rishabhgupta9617 4 роки тому +1

    Awesome explaination of algo in short time, great video sir!!👍

  • @SeaXarnav
    @SeaXarnav 10 місяців тому

    Kya teacher hai 🙌🏼

  • @rensraks2007
    @rensraks2007 4 роки тому

    You are Just brilliant!!! Amazing explanation

  • @AI-implementation
    @AI-implementation 5 років тому

    Its very Cleared and in short thanks a lot

  • @mdsohrabakhtaremam9555
    @mdsohrabakhtaremam9555 2 роки тому

    Greate sir learn so much within less tjme

  • @nomanmalik677
    @nomanmalik677 3 роки тому

    wow, it's like you gotta kidding with me, jsy sir g ap ny hr chz explain ki mza a gya, thanks a lot sir

  • @maxymax686
    @maxymax686 Рік тому

    Very nice way of teaching sir!!

  • @rishikeshsawant7322
    @rishikeshsawant7322 5 років тому

    bhai bhot mast short and sweet explain kiyay....

  • @sayantanghosh6714
    @sayantanghosh6714 2 роки тому

    Very nice explanation. Thank you!

  • @sanskrutichavan3580
    @sanskrutichavan3580 3 роки тому

    u explained very well sir , thank you so much !

  • @tech8317
    @tech8317 Рік тому

    Very well explained. Thank You :)

  • @222noor5
    @222noor5 Рік тому

    Thank you so much for save my time sir

  • @tusharnigam3917
    @tusharnigam3917 2 роки тому

    Great teaching Sir Ji, keep it up & GOD blessed Uhhh😃👌✌🤟👍👏

  • @MayurKapadnis-pn4nk
    @MayurKapadnis-pn4nk 2 роки тому

    Excellent explaination. thank you sir🙏🙏

  • @malikasif8029
    @malikasif8029 2 роки тому

    Excellent sir. Please also make practical with python..............

  • @bisheshtalukdar2163
    @bisheshtalukdar2163 5 років тому

    sir bahot acche padathe he ....video chota banane ke liya app chota solving part skip kare to be achha hoga

  • @vaibhavsinghal1778
    @vaibhavsinghal1778 6 років тому +4

    Bhai case based reasoning par big bana de ek video......exam hai pls

  • @hiteshvarmap6210
    @hiteshvarmap6210 5 років тому +6

    hi brother. good videos, could you make a video explaining svm ?

  • @omsavitrupophali5112
    @omsavitrupophali5112 2 роки тому

    extremely good teaching

  • @tanubadola1525
    @tanubadola1525 3 роки тому

    Very well explained. 😊
    Thankyou

  • @kanchanpathak9752
    @kanchanpathak9752 3 роки тому

    Wow! Amazing explanation!

  • @themaryamm_
    @themaryamm_ Рік тому

    aghr duno yes ho jain or duno no to kon saw choose krain jaisy k ki value 4 h to tie a jay to kya krian gay

  • @madhugarg7499
    @madhugarg7499 4 роки тому +2

    Another awesome video...Thanks
    What if the Pass Probability = Fail Probability ?

    • @vivektomar4208
      @vivektomar4208 3 роки тому

      Go for anyone

    • @pratikgt3724
      @pratikgt3724 Рік тому

      That is the reason we should take k an odd number, so that you'll never endup getting a tie

    • @pratikgt3724
      @pratikgt3724 Рік тому

      ​@@vivektomar4208 that would be a biased result

  • @Shanza-xd5wq
    @Shanza-xd5wq Рік тому

    very well explained thank you sir

  • @teenfu_animotion
    @teenfu_animotion Рік тому

    hamare coaching centre vale sir aapke videos dekte aur hume padate hain, aapke example ka screenshot lete hain aur itne ache se explain tak nahi kiya.

  • @ExcelLearn
    @ExcelLearn 4 роки тому

    Very nice and clear explanation, thank you so much Sir.

  • @ourworld143
    @ourworld143 2 роки тому

    Sir u are dam amazing trust me.. the way u explain topics in so amazing and wonderful..🔥🔥🔥🌟⭐

  • @digvijaythorat4030
    @digvijaythorat4030 5 років тому +1

    Clearly Explanation....

  • @purandarakashyap9648
    @purandarakashyap9648 Місяць тому

    I have a question, can we consider any random number for 'x' provided in the dataset? For Math and CS?
    Or is there is any calculation behind the X of Math and CS?

  • @thisisbhum2271
    @thisisbhum2271 5 років тому +15

    Can anybody explain that how the actual algorithm works becoz everyone teachs about problems but not on algorithms😑

  • @sadiabatool2690
    @sadiabatool2690 Рік тому

    Sir your Vedio was fantastic

  • @pandharpurkar_
    @pandharpurkar_ 4 роки тому +1

    Thank you Brother!! Are u mechanical Engg. Background?

  • @mehakverma4195
    @mehakverma4195 3 роки тому

    7:57 mins worth it :)

  • @dipeshdagar8184
    @dipeshdagar8184 8 місяців тому

    😇😇😇 NICE EXPLAINATION

  • @vipinrajpoot6688
    @vipinrajpoot6688 3 роки тому

    Very good explanation.

  • @pradnya362
    @pradnya362 5 років тому

    Thanks u sir... Also make videos on Theory of computation...

  • @piyushkumar8470
    @piyushkumar8470 5 років тому +1

    Thank you so much sir for your assistance..

  • @AhamedKabeer-wn1jb
    @AhamedKabeer-wn1jb 3 роки тому

    Thank you Sir..well explained..

  • @rohandhameja7525
    @rohandhameja7525 Рік тому

    Thank you sir for this videos🎉

  • @rishibhardwaj398
    @rishibhardwaj398 6 років тому +1

    Very well explained.......Keep it up.

  • @deepakvyas3833
    @deepakvyas3833 4 роки тому +1

    Your all videos in ML are good. For this particular one you have not explain that to have decision we must always K as ODD number and how to arrive at best K value , also what if the label is numeric instead of boolean.

    • @vivektomar4208
      @vivektomar4208 3 роки тому +1

      We use odd values for k just to avoid tie situation and there is no hard & fast rule for finding value of k and it can be taken experimentally. Few methods are there like elbow method etc

  • @snehaldivekar2294
    @snehaldivekar2294 6 років тому

    We likes your all videos... We require haversine algorithm with simple example.. Please request you to make it for us..

  • @rabi11007
    @rabi11007 3 роки тому

    you save my day

  • @digvijaysingh6723
    @digvijaysingh6723 3 роки тому +1

    what if k is equal to 4 and we get 2 pass and 2 fail from euclidean distance

  • @priyaphapale5181
    @priyaphapale5181 5 років тому +1

    You are the best.

  • @sahilmusicsss
    @sahilmusicsss Рік тому

    you are the BEST SIR

  • @logixquest6710
    @logixquest6710 5 років тому +1

    Awesome explanation thanks alot sir! 👌

  • @ShreyasbhargavaCanada
    @ShreyasbhargavaCanada Рік тому

    Awesome explanation keep it up

  • @fatimaiqra2169
    @fatimaiqra2169 Рік тому

    thanks for saving time.

  • @opinion_poll
    @opinion_poll 2 роки тому

    Very helpful, subscribed for your help

  • @TheSocialDrone
    @TheSocialDrone 5 років тому +2

    You nailed it, thank you!

  • @kishanbhise4733
    @kishanbhise4733 3 роки тому

    very well explained sir

  • @alaminroni9785
    @alaminroni9785 5 років тому

    Thanks a lot from Bangladesh

  • @vaibhavmohite468
    @vaibhavmohite468 5 років тому +2

    Nice Explanation

  • @VijayKumar-pd8mu
    @VijayKumar-pd8mu 3 роки тому +1

    Excellent explanation, Bro!
    you have good command over the concept.