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

Поделиться
HTML-код
  • Опубликовано: 4 окт 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...

Комментарии • 93

  • @abdanidza7647
    @abdanidza7647 2 года назад +40

    Most simple and clear explanation so far

  • @ProfTrathore
    @ProfTrathore 2 года назад +68

    Rank 3 is 0.60

  • @codenish17
    @codenish17 8 месяцев назад +2

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

    • @MaheshHuddar
      @MaheshHuddar  8 месяцев назад

      Welcome
      Do like share and subscribe

  • @pradyumnakubear8561
    @pradyumnakubear8561 11 месяцев назад +3

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

    • @MaheshHuddar
      @MaheshHuddar  11 месяцев назад

      Thank You
      Do like share and subscribe

  • @skkl8045
    @skkl8045 Год назад +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 🇩🇪

  • @janikaa516
    @janikaa516 Год назад +5

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

  • @durgadevi3261
    @durgadevi3261 9 месяцев назад +1

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

    • @MaheshHuddar
      @MaheshHuddar  9 месяцев назад

      Welcome
      Do like share and subscribe

  • @00f00i00s00l00
    @00f00i00s00l00 Год назад +1

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

    • @MaheshHuddar
      @MaheshHuddar  Год назад +1

      Welcome
      Do like share and subscribe

  • @bahram-848durani2
    @bahram-848durani2 Год назад +3

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

  • @SrinivasaraoDara-uz2tc
    @SrinivasaraoDara-uz2tc 6 месяцев назад

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

    • @MaheshHuddar
      @MaheshHuddar  6 месяцев назад

      Welcome
      Do like share and subscribe

  • @cjs8037
    @cjs8037 Год назад +1

    Yes sir, neatly and clearly understood sir

  • @kentimancy
    @kentimancy 8 месяцев назад +2

    you saved my grade

    • @MaheshHuddar
      @MaheshHuddar  8 месяцев назад +1

      Do like share and subscribe

  • @kmdkhaleeluddin6257
    @kmdkhaleeluddin6257 Год назад +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 ❣️🤗

  • @Alireza-kw6fj
    @Alireza-kw6fj Год назад

    Bro your videos saved me in final exam
    Thanks

    • @MaheshHuddar
      @MaheshHuddar  Год назад

      Welcome
      Do like share and subscribe

    • @Alireza-kw6fj
      @Alireza-kw6fj Год назад

      @@MaheshHuddar i did, thanks for your videos

    • @MaheshHuddar
      @MaheshHuddar  Год назад

      In which university you are studying.?

  • @neelimareddy2807
    @neelimareddy2807 6 месяцев назад

    Thank you so much 🙏 its so helpful to me 😊

    • @MaheshHuddar
      @MaheshHuddar  6 месяцев назад

      Most welcome
      Do like share and subscribe to

  • @Straight_Forward615
    @Straight_Forward615 6 месяцев назад

    Thanks a lot sir. Jai Hind.

    • @MaheshHuddar
      @MaheshHuddar  6 месяцев назад

      Welcome
      Do like share and subscribe

  • @annmaryjoseph684
    @annmaryjoseph684 3 года назад +2

    thank you :)

  • @RimshaIlyas7722-bb9xe
    @RimshaIlyas7722-bb9xe Год назад +1

    Very helpfull👍

    • @MaheshHuddar
      @MaheshHuddar  Год назад

      Thank You
      Do like share and subscribe

  • @ozonewagle
    @ozonewagle Год назад

    Thank you so much dear sir.

  • @ankita6599
    @ankita6599 5 месяцев назад

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

  • @sreedevigovindan2127
    @sreedevigovindan2127 2 года назад +6

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

  • @dhanushvcse4056
    @dhanushvcse4056 Год назад

    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  Год назад +3

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

  • @_feel_good_stories
    @_feel_good_stories 7 месяцев назад +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 7 месяцев назад

      I to have the same doubt if you found explain

    • @_feel_good_stories
      @_feel_good_stories 7 месяцев назад

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

  • @beastbaby7946
    @beastbaby7946 3 года назад +1

    this dataset is quite lengthy for this sort of problem!

  • @xenon_429
    @xenon_429 Год назад

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

  • @akankshagupta321
    @akankshagupta321 10 месяцев назад

    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 9 месяцев назад

      first 4 ranks, most occuring species is your result

    • @vaidiksinghrajput3405
      @vaidiksinghrajput3405 8 месяцев назад

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

  • @afaq715
    @afaq715 Год назад

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

    • @birdman2108
      @birdman2108 Год назад

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

  • @dazz2469
    @dazz2469 Год назад

    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  Год назад +2

      Watch this video
      Here I have addressed both discrete and continuous valued Target function:
      ruclips.net/video/w6hQ3ES6Kbg/видео.html

  • @krishnab6444
    @krishnab6444 2 года назад

    thank you sir

    • @MaheshHuddar
      @MaheshHuddar  2 года назад +1

      Welcome
      Do like share and subscribe

  • @NipunRawat08
    @NipunRawat08 Год назад +1

    what if k is 3 and all 3 are different

    • @MaheshHuddar
      @MaheshHuddar  Год назад

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

  • @musadayel4673
    @musadayel4673 7 месяцев назад

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

    • @jamescrox3372
      @jamescrox3372 3 месяца назад

      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

  • @powerpcx86
    @powerpcx86 3 года назад +2

    4:07 given the Value of GA

  • @sajibrana5393
    @sajibrana5393 Год назад

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

  • @smartmediasolutions6637
    @smartmediasolutions6637 Год назад

    Thanks 😀

  • @rapideco9310
    @rapideco9310 8 месяцев назад

    nice video

    • @MaheshHuddar
      @MaheshHuddar  8 месяцев назад

      Thanks
      Do like sahre and subscribe

  • @Hope_24
    @Hope_24 3 года назад +1

    How to find k value if not given

    • @krnl1304
      @krnl1304 3 года назад

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

  • @mehrim5309
    @mehrim5309 Год назад

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

    • @MaheshHuddar
      @MaheshHuddar  Год назад +1

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

    • @mehrim5309
      @mehrim5309 Год назад

      @@MaheshHuddar thank u sir

  • @harshalgosavi40
    @harshalgosavi40 3 года назад +2

    From where we get value of K?

    • @ኪራA
      @ኪራA 3 года назад

      k will be given in the question itself.

  • @abdullahjanjua2010
    @abdullahjanjua2010 2 года назад

    How we can find rank

  • @Sarajboos12
    @Sarajboos12 8 месяцев назад

    Nice

    • @MaheshHuddar
      @MaheshHuddar  8 месяцев назад

      Thank You
      Do like share and subscribe

  • @anilpatel3177
    @anilpatel3177 2 года назад +1

    Can you make vedio of air quality prediction by weka tool

  • @beinghappy9223
    @beinghappy9223 10 месяцев назад

    Sir what to do if k value is not given

    • @MaheshHuddar
      @MaheshHuddar  10 месяцев назад

      Assume the value of k, preferebly odd number and solve

    • @beinghappy9223
      @beinghappy9223 10 месяцев назад

      @@MaheshHuddar Thanks Sir

  • @ajitpal0821
    @ajitpal0821 Год назад

    if we have more than two parameter? then..

    • @MaheshHuddar
      @MaheshHuddar  Год назад

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

    • @ajitpal0821
      @ajitpal0821 Год назад

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

  • @homeguru3183
    @homeguru3183 Год назад +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 Год назад

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

  • @shubhangimathe8550
    @shubhangimathe8550 2 года назад

    Cooooool

    • @MaheshHuddar
      @MaheshHuddar  2 года назад

      Thank You
      Do like share and subscribe

  • @eylmaz6696
    @eylmaz6696 Год назад

    ruclips.net/video/Vk9lGGODaJA/видео.html how did we get it here ? how did we decide

  • @kevinbhadja2711
    @kevinbhadja2711 Год назад

    Hiiiiii....

  • @AndresThornton-w1k
    @AndresThornton-w1k 17 дней назад

    Hall Margaret Robinson Helen White Barbara

  • @mdtamjidislam4795
    @mdtamjidislam4795 2 года назад

    🌚🌚🌚🌚

  • @RimshaIlyas7722-bb9xe
    @RimshaIlyas7722-bb9xe Год назад

    Very helpfull👍

    • @MaheshHuddar
      @MaheshHuddar  Год назад

      Thank You
      Do like share and subscribe