KNN Image Classification in Python

Поділитися
Вставка
  • Опубліковано 27 сер 2024
  • K - Nearest Neighbor Image Classification Example with Euclidean Distance in Python

КОМЕНТАРІ • 66

  • @m.haseeburrehman2260
    @m.haseeburrehman2260 4 місяці тому +1

    Such a noteworthy video which elucidates KNN concepts ( which are abstruce to understand) in a concise way😊❤

  • @Muhammad-Noman33
    @Muhammad-Noman33 4 місяці тому

    your way of teaching is excellent, keep it up :)

  • @muhammadahsen6373
    @muhammadahsen6373 4 місяці тому

    Very Interesting topic,great detail,simple and easy to understand just exceptional sir.😊

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

    Fantastic video, short and explained with ease and clarity.

  • @Hamza_BioMed_Learning
    @Hamza_BioMed_Learning 4 місяці тому

    I am happy you are my teacher. Thanks a lot for this KNN concept. Sir Can you also upload about other classifiers like SVM,LSVM Gaussian Process, Logistics regression etc?. I want to learn these also.

    • @SalaarArifKhan
      @SalaarArifKhan  4 місяці тому

      In future will upload some more content! Thank you!

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

    Wow Sir!!! Thank you for teaching these concepts so clearly!!!

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

    Great job, you are crystal clear. Waiting for your complete DL series 🙂

  • @HaiderAli-hp6tl
    @HaiderAli-hp6tl 2 роки тому +1

    you need to market you channel, its unfair that many people don'
    t know about this quality content

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

      Thank you so much for your lovely words! I'll definitely work on it!

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

    Loved it. Very clear explanation !

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

    tnks great video!

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

    crisp and clear sir ... thank you

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

      Thanks Harsh!

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

      @@SalaarArifKhan Sir 1 more thing can you tell me what is K in this .... if K=2 it means it will compare 2 nearest images .....?????

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

      @@harshagarwal8170 that's right, it'll look for two nearest images

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

    great job , thank you sir ☺

  • @scorn9018
    @scorn9018 2 роки тому +2

    Hello, i'm just wondering, how did you make a .mat file containing 50 images? Thank you.

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

      you can load the images in MATLAB, vectorize them, stack them together and save that variable

  • @RanjithKumar-rb2cq
    @RanjithKumar-rb2cq 3 роки тому +1

    If multi class classification(images) is possible using KNN?

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

      Yes, for example you can have a test image and run KNN on it to see if it belongs to a class of cars or bikes or planes etc.

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

    good one can u start a whole deep learning playlist?

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

    great job sir, I have requested source code for this video, kindly send me the code as soon as possible sir.

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

    Excellent! Can I have access to the source code & dataset please? I've mailed you. Thanks in advance!

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

    Can you please give me source code and data set sir??? Please

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

    Sir, can i get the code and dataset? I have mailed you.

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

    Sir how to convert jpg to .mat ? please help

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

      you can read image files using imread.
      documentation: www.mathworks.com/help/matlab/ref/imread.html
      and then save them as .mat using save.
      documentation: www.mathworks.com/help/matlab/ref/save.html

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

    Sir how can we vectorize image files?

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

      One way, also used in this code, is to use the np.reshape function. Notice how at 11:14, Im reshaping a vector into 32x32x3 image. So if you wanted to vectorize 32x32x3 image, consider using np.reshape(img_original,[3072,1], order="F"). 3072 because 32x32x3

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

      @@SalaarArifKhan Thanks a lot sir for your answer.Can I get your source code and that data.mat file? It will be very much helpful.

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

      @@arnob1221 email at salaar_arif@hotmail.com

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

      @@SalaarArifKhan already done sir.

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

      @@arnob1221 done

  • @user-mp2lu7vr7y
    @user-mp2lu7vr7y Рік тому

    May i have the source code and data set plz ? i have already sent an email

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

    hi, can u share code?

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

    permission to learn sir

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

    can i have the source code please?

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

      Yes please email at salaar_arif@hotmail.com

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

      @@SalaarArifKhan I'm already sent email sir :)

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

      @@srp5279 Sent

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

      Can you please send me the code and data set please...
      I already sent my mail id sir

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

    Can you please send me code and data set
    I already send my mail please send sir

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

    Can you please give me source code and data set sir??? Please

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

    can i have the source code please?

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

    can i have the source code please?