1. Solved Numerical Example of KNN Classifier to classify New Instance IRIS Example by Mahesh Huddar

Sdílet
Vložit
  • čas přidán 27. 08. 2024
  • 1. Solved Numerical Example of KNN (K Nearest Neighbor Algorithm) Classifier to classify New Instance IRIS Example by Mahesh Huddar
    1. Solved Numerical Example of KNN: • 1. Solved Numerical Ex...
    2. Solved Numerical Example of KNN: • 2. Solved Example KNN ...
    Tutorials:
    Machine Learning - • Machine Learning
    Big Data Analysis - • Big Data Analytics
    Data Science and Machine Learning - • Machine Learning
    Python Tutorial - • Python Application Pro...

Komentáře • 92

  • @abdanidza7647
    @abdanidza7647 Před 2 lety +38

    Most simple and clear explanation so far

  • @ProfTrathore
    @ProfTrathore Před 2 lety +61

    Rank 3 is 0.60

  • @codenish17
    @codenish17 Před 7 měsíci +2

    sir, your explanation is very clear and simple. Thank you so much.❣

  • @pradyumnakubear8561
    @pradyumnakubear8561 Před 9 měsíci +3

    Your explanation is Bomb (Even during MS it is helpful)

  • @durgadevi3261
    @durgadevi3261 Před 8 měsíci +1

    Sir,your explanation is perfect. we understood it very clearly. Thank you so much sir!

  • @skkl8045
    @skkl8045 Před rokem +2

    Thanx for the explanation. What if k is not given. We should find the best K for our model. What should we do them. Greetings from Germany 🇩🇪

  • @SrinivasaraoDara-uz2tc
    @SrinivasaraoDara-uz2tc Před 5 měsíci

    super i saw lot video but not understand this much when seen ur video i clear concept very clearrr tqquuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu soooooooo muuucccccchhhhhhhhhhhhhhhhhhhhhh broooooo

  • @cjs8037
    @cjs8037 Před rokem +1

    Yes sir, neatly and clearly understood sir

  • @bahram-848durani2
    @bahram-848durani2 Před rokem +3

    Nice explanation, sir plz make a video and explain numerical example on Adaboost and Xgboost.

  • @kentimancy
    @kentimancy Před 7 měsíci +2

    you saved my grade

  • @Alireza-kw6fj
    @Alireza-kw6fj Před rokem

    Bro your videos saved me in final exam
    Thanks

  • @kmdkhaleeluddin6257
    @kmdkhaleeluddin6257 Před rokem +4

    Sir your explanation is very good
    🤗❣️so can you plz provide notes to us becoz it's could be save more time instead of writing in our notes 📝 I hope you understand
    Thank you very much again sir for helping the student to get good marks ❣️🤗

  • @janikaa516
    @janikaa516 Před rokem +3

    Sir what if any two three distance are same .. how to calculate the rank

  • @00f00i00s00l00
    @00f00i00s00l00 Před rokem

    thanks, helped me a lot in my today final exam.

  • @neelimareddy2807
    @neelimareddy2807 Před 5 měsíci

    Thank you so much 🙏 its so helpful to me 😊

    • @MaheshHuddar
      @MaheshHuddar  Před 5 měsíci

      Most welcome
      Do like share and subscribe to

  • @RimshaIlyas7722-bb9xe
    @RimshaIlyas7722-bb9xe Před rokem +1

    Very helpfull👍

  • @Straight_Forward615
    @Straight_Forward615 Před 4 měsíci

    Thanks a lot sir. Jai Hind.

  • @annmaryjoseph684
    @annmaryjoseph684 Před 2 lety +2

    thank you :)

  • @ozonewagle
    @ozonewagle Před rokem

    Thank you so much dear sir.

  • @_feel_good_stories
    @_feel_good_stories Před 6 měsíci +1

    sir what if the distance between them are same values for 3 numbers how we have to give the rank to them

    • @rahulroyal8321
      @rahulroyal8321 Před 5 měsíci

      I to have the same doubt if you found explain

    • @_feel_good_stories
      @_feel_good_stories Před 5 měsíci

      @@rahulroyal8321simply use other distance formula rather than using euclediansdistance formula

  • @powerpcx86
    @powerpcx86 Před 2 lety +2

    4:07 given the Value of GA

  • @ankita6599
    @ankita6599 Před 4 měsíci

    What if there are more than two attributes? How would we determine which attributes to take while finding the Euclidean distance?

  • @krishnabhadke6161
    @krishnabhadke6161 Před 2 lety

    thank you sir

  • @sreedevigovindan2127
    @sreedevigovindan2127 Před 2 lety +6

    13 th sample distance is 0.608 . So first and 13 th sample same distance. How to rank it?

  • @dazz2469
    @dazz2469 Před rokem

    sir what if the target value is something like weight where all values are different so after euclidean dist. how can we compare the nearest values because all are different

    • @MaheshHuddar
      @MaheshHuddar  Před rokem +2

      Watch this video
      Here I have addressed both discrete and continuous valued Target function:
      czcams.com/video/w6hQ3ES6Kbg/video.html

  • @musadayel4673
    @musadayel4673 Před 6 měsíci

    how did you the this new example 5.2 and 3.1 because i have checked the table is not there ?

    • @jamescrox3372
      @jamescrox3372 Před 2 měsíci

      That is just a scenario. Just imagine a guy wants to find the nearest neighbor with his data sepal length 5.2 and sepal width 3.1. You can make up anything yourself

  • @dhanushvcse4056
    @dhanushvcse4056 Před rokem

    Sir I have one doubt ... I get first five rank sample if in which two are belong setosa and another two are getting virginica where one more different
    In which case what is choose sir

    • @MaheshHuddar
      @MaheshHuddar  Před rokem +3

      That is an ambiguous state
      In such case you need increase the value of k and then make a dicision

  • @smartmediasolutions6637

    Thanks 😀

  • @beastbaby7946
    @beastbaby7946 Před 3 lety +1

    this dataset is quite lengthy for this sort of problem!

  • @rapideco9310
    @rapideco9310 Před 6 měsíci

    nice video

  • @akankshagupta321
    @akankshagupta321 Před 8 měsíci

    What if the value of k is 4, do we have to check all the rank before 4 or simply the 4th value

    • @schnitzel_enjoyer
      @schnitzel_enjoyer Před 8 měsíci

      first 4 ranks, most occuring species is your result

    • @vaidiksinghrajput3405
      @vaidiksinghrajput3405 Před 7 měsíci

      ​@@schnitzel_enjoyer what if we r at 4 and 2 have same no. Of iterations

  • @xenon_429
    @xenon_429 Před rokem

    What of k is not given then what do we do?

  • @sajibrana5393
    @sajibrana5393 Před rokem

    can I get numpy python implementation code for this problem??

  • @NipunRawat08
    @NipunRawat08 Před rokem +1

    what if k is 3 and all 3 are different

    • @MaheshHuddar
      @MaheshHuddar  Před rokem

      That will be an ambiguous state
      Either you need to go with distance weighted KNN or Increase the value of K

  • @Sarajboos12
    @Sarajboos12 Před 7 měsíci

    Nice

  • @Hope_24
    @Hope_24 Před 3 lety +1

    How to find k value if not given

    • @krnl1304
      @krnl1304 Před 2 lety

      K is usually the square root of the total number of samples given.
      Otherwise we usually take K as 3.

  • @anilpatel3177
    @anilpatel3177 Před 2 lety +1

    Can you make vedio of air quality prediction by weka tool

  • @afaq715
    @afaq715 Před rokem

    If value of K is not mention in this case so what value we take as a K ?

    • @birdman2108
      @birdman2108 Před rokem

      K=sqrt(number of neighbors)
      +-1 to K if K is even, make it odd to prevent any ties

  • @beinghappy9223
    @beinghappy9223 Před 9 měsíci

    Sir what to do if k value is not given

    • @MaheshHuddar
      @MaheshHuddar  Před 9 měsíci

      Assume the value of k, preferebly odd number and solve

    • @beinghappy9223
      @beinghappy9223 Před 9 měsíci

      @@MaheshHuddar Thanks Sir

  • @abdullahjanjua2010
    @abdullahjanjua2010 Před 2 lety

    How we can find rank

  • @mehrim5309
    @mehrim5309 Před rokem

    I dont understand that..how can we find the column of rank.?

    • @MaheshHuddar
      @MaheshHuddar  Před rokem +1

      The most nearest neighbour is given rank one, next rank 2 and so on

    • @mehrim5309
      @mehrim5309 Před rokem

      @@MaheshHuddar thank u sir

  • @harshalgosavi40
    @harshalgosavi40 Před 3 lety +2

    From where we get value of K?

  • @ajitpal0821
    @ajitpal0821 Před rokem

    if we have more than two parameter? then..

    • @MaheshHuddar
      @MaheshHuddar  Před rokem

      We need to apply the same approach...
      If you have a problem definition, send I will solve it

    • @ajitpal0821
      @ajitpal0821 Před rokem

      @@MaheshHuddar consider same example dataset with all its parameters.

  • @shubhangimathe8550
    @shubhangimathe8550 Před rokem

    Cooooool

  • @homeguru3183
    @homeguru3183 Před rokem +1

    (10 points) John has the following dataset:
    Class x1 x2
    A¨ 0 0
    A 1 0
    A 0 1
    B 1 1
    B 2 2
    B 2 0
    He is studying machine learning and encountered some questions which he is unable to
    solve. Help him solve the following questions.
    1. (2 points) Are the points linearly separable? Support your answer by plotting the
    points.
    2. (3 points) Find out the weight vector corresponding to the maximum margin hy-
    perplane. Also find the support vectors present.
    3. (2 points) What is the effect on the optimal margin if we remove any one of the
    support vectors in this question?
    4. (3 points) In general, for any dataset, what can we say about the effect on optimal
    margin, if we remove any of the support vectors
    Sir Plz tel how to do ths

    • @sajibrana5393
      @sajibrana5393 Před rokem

      can I get numpy python implementation code for this problem??

  • @kevinbhadja2711
    @kevinbhadja2711 Před rokem

    Hiiiiii....

  • @eylmaz6696
    @eylmaz6696 Před 11 měsíci

    czcams.com/video/Vk9lGGODaJA/video.html how did we get it here ? how did we decide

  • @mdtamjidislam4795
    @mdtamjidislam4795 Před rokem

    🌚🌚🌚🌚

  • @RimshaIlyas7722-bb9xe

    Very helpfull👍