K-Nearest Neighbors (KNN) with R | Classification and Regression Examples

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ธ.ค. 2024

ความคิดเห็น • 174

  • @zeenpc5645
    @zeenpc5645 6 ปีที่แล้ว +14

    I watched a lots of tutorial on TH-cam, but nothing can compare to this.
    Simple and straight to point, great editing and teacher who was born with natural talent called teaching

  • @mapa5000
    @mapa5000 ปีที่แล้ว +1

    outstanding explanation !! ... In my opinion, there's not even 1 second of waste in this class. Thank you Prof ! Greetings from Houston !!!

    • @bkrai
      @bkrai  ปีที่แล้ว

      You are welcome!

  • @DanTaninecz
    @DanTaninecz 5 ปีที่แล้ว +2

    You are a great teacher. The explanations for sub equations are very very appreciated.

    • @bkrai
      @bkrai  5 ปีที่แล้ว

      Thanks for comments!

  • @neerajraut6473
    @neerajraut6473 6 ปีที่แล้ว +7

    U have this way of simplifying things. I personally have learnt a lot from all your videos and i am always eager and waiting for your new videos. I know you must be having a very busy schedule sir, but if you could upload videos more frequently, it would mean so much to all of us :)

    • @bkrai
      @bkrai  6 ปีที่แล้ว

      Thanks for your comments and feedback!

  • @crossray974
    @crossray974 3 ปีที่แล้ว +2

    Dear Dr. Bharatendra, this is amazing stuff again. Thank you so much for sharing your great knowledge!

    • @bkrai
      @bkrai  3 ปีที่แล้ว

      Most welcome!

  • @rengarrick2020
    @rengarrick2020 6 ปีที่แล้ว +3

    this channel is very underrated thanks bro

    • @bkrai
      @bkrai  6 ปีที่แล้ว

      Thanks!

  • @crossray974
    @crossray974 3 ปีที่แล้ว +1

    Now I am back again with my next task, when i search in youtube i do like: k-means clustering Bharatendra :) to find the best learning stuff. Thanks again Dr. Bharatendra!

    • @bkrai
      @bkrai  3 ปีที่แล้ว

      You are very welcome!

  • @joychakroborty7541
    @joychakroborty7541 4 ปีที่แล้ว +1

    easy....descriptive ..... all in 1 package ... waiting to hear more from you SIR

    • @bkrai
      @bkrai  4 ปีที่แล้ว

      Thanks for your comments!

  • @eluwila
    @eluwila 4 ปีที่แล้ว +1

    No words about the explanation. Perfect
    Thank you very much

    • @bkrai
      @bkrai  4 ปีที่แล้ว

      You are most welcome!

  • @danniely270
    @danniely270 5 ปีที่แล้ว +1

    this channel is better than any of the lecture in my uni. I would pay to learn from you if there was any chance.

    • @bkrai
      @bkrai  5 ปีที่แล้ว +1

      Thanks for your feedback and comments!

  • @meshackamimo1945
    @meshackamimo1945 6 ปีที่แล้ว +4

    as usual,awesome communication skills at work here...Keep up!

    • @bkrai
      @bkrai  6 ปีที่แล้ว

      Thanks for comments!

  • @hellomacha4388
    @hellomacha4388 4 ปีที่แล้ว +1

    You are explaining in a nice manner

    • @bkrai
      @bkrai  4 ปีที่แล้ว

      Thanks for comments!

  • @khananwar4305
    @khananwar4305 6 ปีที่แล้ว +3

    Thankyou.. Thankyou so much sir... You are bringing new ways to teach us and making it easy to grasp the concept...thankyou please make some end to end case studies approach to make us understand the whole pipeline... 🙏...thankyou for the videos..

    • @bkrai
      @bkrai  6 ปีที่แล้ว

      Thanks for feedback and suggestion! I'm adding end case studies to my list.

  • @kenjitakatuzi2824
    @kenjitakatuzi2824 5 ปีที่แล้ว +1

    Thank very much from Brazil. Your videos are helping me a lot!

    • @bkrai
      @bkrai  5 ปีที่แล้ว +1

      Thanks for comments!

  • @Asdfasdffff
    @Asdfasdffff 6 ปีที่แล้ว +3

    Big thanks! From Kazakhstan;)

    • @bkrai
      @bkrai  6 ปีที่แล้ว

      Thanks for comments!

  • @flamboyantperson5936
    @flamboyantperson5936 6 ปีที่แล้ว +1

    Wow Sir what a great teaching. I have been waiting for you videos and you have come with a new topic and I am so happy to see in my notification that you have uploaded a video. Thank you so much for the great content and immense knowledge. KNN was a much needed topic from your side and you have done it. Thank you so much sir :)

    • @bkrai
      @bkrai  6 ปีที่แล้ว

      Thanks for your feedback and comments!

  • @nazlimehrazar8234
    @nazlimehrazar8234 5 ปีที่แล้ว +1

    Millions of thanks, it is a perfect training. Going to all the details. You saved my life :D

    • @bkrai
      @bkrai  5 ปีที่แล้ว +1

      Thanks for comments!

  • @ravindarmadishetty736
    @ravindarmadishetty736 6 ปีที่แล้ว +3

    Important points are covered sir....Thank you

    • @bkrai
      @bkrai  6 ปีที่แล้ว

      Thanks for feedback!

    • @ravindarmadishetty736
      @ravindarmadishetty736 6 ปีที่แล้ว

      Sir, can you make one video on upsampling, downsampling, both and Smote with example

  • @azzeddinereghais8943
    @azzeddinereghais8943 2 ปีที่แล้ว

    Thank you sir for all your valuable lectures
    I hope that in the near future, you will discuss compositional analysis (CoDa) and explain how to perform Robust PCA and Clustering

  • @RahulDas-ki7tg
    @RahulDas-ki7tg 6 ปีที่แล้ว +1

    Sir, I am working as a data analyst in a NBFC, I am building a predictive model of the probability of default of a customer. I have used logistics regression and random forest. Sir which algorithm will be the best to get optimum results. Another request to you sir of you make tutorial vedio for all this ml algorithm in python script. I and the people like myself will be glad and benefited.Thank you so much Sir for sharing of your valuable knowledge.

    • @bkrai
      @bkrai  6 ปีที่แล้ว

      Have you tried xgb? Usually it is known for getting good results. Here is the link:
      th-cam.com/video/woVTNwRrFHE/w-d-xo.html
      In addition, I'll also do some python videos in next few months.

  • @monserratdelcano5902
    @monserratdelcano5902 4 ปีที่แล้ว +2

    PERFECT !!!!!! amazing teacher !!

    • @bkrai
      @bkrai  4 ปีที่แล้ว

      Thank you! 😃

  • @amnindersekhon779
    @amnindersekhon779 3 ปีที่แล้ว +1

    Thank you very much Dr. Rai

    • @bkrai
      @bkrai  3 ปีที่แล้ว

      You're most welcome!

  • @flamboyantperson5936
    @flamboyantperson5936 6 ปีที่แล้ว +3

    Hello Sir, when we can expect your new videos? Thank you

    • @bkrai
      @bkrai  6 ปีที่แล้ว +1

      This month I'll work on few more.

    • @flamboyantperson5936
      @flamboyantperson5936 6 ปีที่แล้ว +1

      That would be great Sir. Eagerly waiting for next video. @@bkrai

    • @bkrai
      @bkrai  6 ปีที่แล้ว

      Thanks!

  • @kavyashree228
    @kavyashree228 6 ปีที่แล้ว +2

    Thanks a lot for all your video.

    • @bkrai
      @bkrai  6 ปีที่แล้ว +1

      Thanks for feedback!

  • @Muhammadsulaiman6
    @Muhammadsulaiman6 3 ปีที่แล้ว +1

    Thank you sir very informative for finding k value.
    Why does k=1 in knn give the best accuracy?

    • @bkrai
      @bkrai  3 ปีที่แล้ว +1

      It depends on data.

  • @earlymorningcodes6100
    @earlymorningcodes6100 4 ปีที่แล้ว +1

    Would request pls made a seperate video on model training.Which comprises all the methods

    • @bkrai
      @bkrai  4 ปีที่แล้ว

      The video will become too long. I've this playlist that has 10 must know machine learning methods:
      th-cam.com/play/PL34t5iLfZddsQ0NzMFszGduj3jE8UFm4O.html

  • @debasishmishra1493
    @debasishmishra1493 4 ปีที่แล้ว +2

    Sir if cross validation is carried out while using training data, than what is the necessity to divide the data into train and test dataset? I mean what if we use entire dataset for cross validation ...will that suffice? And there was one request..if you can make a video on ensembling using caret package, for different classifiers!

    • @bkrai
      @bkrai  4 ปีที่แล้ว +1

      It still better to use test data. During cross validation at some point or the other, all training data points are used. Test data will be something not seen by the model. Also thanks for the suggestion!

    • @debasishmishra1493
      @debasishmishra1493 4 ปีที่แล้ว +1

      @@bkrai Thank you sir. Your videos help me lot in my research work.

    • @bkrai
      @bkrai  4 ปีที่แล้ว

      You are very welcome!

  • @harish00784
    @harish00784 4 ปีที่แล้ว +1

    After finding the optimal k value, (ie)k=33 in above example. If we want to use that k value and find accuracy onceagain, where we must include that found k value? I mean, applying library (class) -> getting labels and put the found k value. Does this work?

    • @bkrai
      @bkrai  4 ปีที่แล้ว

      The model will automatically use optimal k values for predictions.

  • @SandeepKumar-me6qr
    @SandeepKumar-me6qr 6 ปีที่แล้ว +2

    Thank you sir for the lesson. I have one doubt, how to decide the value of k for our model?

    • @bkrai
      @bkrai  6 ปีที่แล้ว

      This algorithm gives you the best value of k.

  • @esar1499
    @esar1499 4 ปีที่แล้ว +1

    Hello mr Rai! I would like to ask you a question? Do we need to standarize in LDA as well if the independent variables have totally different magnitudes???( I am asking because the discriminant functions are already scaled as you mentioned in the LDA video)

    • @bkrai
      @bkrai  4 ปีที่แล้ว +1

      If in doubt, always do it. Standardization has negative impact.

  • @kebag1
    @kebag1 5 ปีที่แล้ว +1

    Thanks for sharing! If we wanted to use the other method of normalizing the data, what would be that R code?

    • @bkrai
      @bkrai  5 ปีที่แล้ว

      Let's say your data is called "data" and the variables you want to standardize is "V1". Then the code will be:
      (data$V1 - min(data$V1)) / ((max(data$V1) - min(data$V1))

    • @kebag1
      @kebag1 5 ปีที่แล้ว

      thank you so much! I tried that but the fit() doesn't work. I had replace the preProcess with normalize.@@bkrai

  • @dimplekashyap1
    @dimplekashyap1 6 ปีที่แล้ว +2

    Keep up the good work.

    • @bkrai
      @bkrai  6 ปีที่แล้ว

      Thx for comments!

  • @akhlaqdanish374
    @akhlaqdanish374 2 ปีที่แล้ว +1

    Sir i have a problem, here we face for the given problem Sir please help me.
    Error in model.frame.default(form = data.f$Consanguinity ~ ., data = training, :
    variable lengths differ (found for 'Age')

    • @bkrai
      @bkrai  2 ปีที่แล้ว

      check your data and make sure they have same length.

  • @LUCA-xv2sq
    @LUCA-xv2sq 3 ปีที่แล้ว +1

    Dear Dr.Bharatendra, thank you a lot for your videos, I'm new to ML and I developed the following workflow using a for loop:
    1-Split data into 80/20
    2-Train on the 80
    3-Test on the 20
    4-Get confusion matrix-->get metrics like accuracy
    5-repeat the same thing n times
    6-average the accuracy from the confusion matrix you got n times.
    is this correct? when I look at your tutorial or the caret package, to evaluate a model they take the accuracy from the training phase before any testing, and then they do the testing/prediction once! is my method correct? because I feel I'm testing n times, and thus my ML have seen all my data in the process since in every iteration, he get the 80 then test on the 20 and repeat.
    Should I use the accuracy I got from the confusion matrix to compare between algorithm or not?
    Thank you a lot again!

    • @bkrai
      @bkrai  3 ปีที่แล้ว

      Refer to this playlist for detailed coverage:
      th-cam.com/video/s23CMIjfwHk/w-d-xo.html

  • @vigneshappanraj6381
    @vigneshappanraj6381 4 ปีที่แล้ว +1

    If categorical variables are in independent variables,don't we have to create dummy variables, or the package will deal with it ?

    • @bkrai
      @bkrai  4 ปีที่แล้ว

      It's always better to convert categorical independent variables to dummy variables.

  • @babajee4644
    @babajee4644 6 ปีที่แล้ว +2

    its fine informative, helpful but how we get the table for practice???

    • @bkrai
      @bkrai  6 ปีที่แล้ว

      Here is the link that is now also added below the video.
      Data file: goo.gl/D2Asm7

  • @lmoraferia
    @lmoraferia 3 ปีที่แล้ว +1

    Awesome video Sir! Thanks for sharing.
    I used to do knn analysis by using functions from FNN library; however I noticed you are using caret library. How could I identify the best library for this ML method and others?
    Also, What would you recommend for implementing knn method for product recommendation in an online store? , Should I use R?
    Thank you and best regards from Mexico

    • @bkrai
      @bkrai  2 ปีที่แล้ว

      Seeing this today. Caret is more versatile. For product recommendation, you can certainly use R.

  • @deepthibhadran4181
    @deepthibhadran4181 4 ปีที่แล้ว +1

    Sir can you please make one video on TOPSIS and compromise programming method

    • @bkrai
      @bkrai  4 ปีที่แล้ว

      Thanks, I've added it to my list.

  • @dileep3549
    @dileep3549 6 ปีที่แล้ว +2

    Thanks a lot sir . It is very helpful

    • @bkrai
      @bkrai  6 ปีที่แล้ว

      Thanks for comments!

  • @ksaghir10
    @ksaghir10 3 ปีที่แล้ว

    Hi,
    how can i get the confusion matrix for the model with the highest accuracy (testing range of values of k), if I perform LOOCV using whole data instead of splitting into test and training set

  • @Didanihaaaa
    @Didanihaaaa 6 ปีที่แล้ว +2

    Good job! Thanks

    • @bkrai
      @bkrai  6 ปีที่แล้ว

      Thanks for comments!

  • @nikinlee3032
    @nikinlee3032 4 ปีที่แล้ว +1

    Hello sir. Thanks for your video so much. I learn much R method. And I am confused that except for KNN, do other machine learning methods need standardization for the data? if so, what methods need?

    • @bkrai
      @bkrai  4 ปีที่แล้ว

      If in doubt, it is better to do it. Because if you do not do it when needed, then threre could be problem.

  • @galk32
    @galk32 5 ปีที่แล้ว +2

    Thank you very much sir!

    • @bkrai
      @bkrai  5 ปีที่แล้ว

      Thanks for comments!

  • @tabarakhossain4830
    @tabarakhossain4830 4 ปีที่แล้ว +2

    Sir your tutorial is outstanding comparing to the others.IBut I face a problem here.When I prepare the knn model then an error occurred and that is
    fit

    • @bkrai
      @bkrai  4 ปีที่แล้ว

      Check your data and see why variable 'admit' was not found. Probably you are using different data that doesn't have 'admit' variable.

  • @lovebhartiya
    @lovebhartiya 5 ปีที่แล้ว +1

    nice explanation

    • @bkrai
      @bkrai  5 ปีที่แล้ว

      thanks for comments!

  • @alessandrorosati969
    @alessandrorosati969 ปีที่แล้ว +1

    when i have non-numeric variables in my dataset i can use K-Nearest Neighbors?

    • @bkrai
      @bkrai  ปีที่แล้ว

      You need to find a way to covert them into numbers first.

    • @alessandrorosati969
      @alessandrorosati969 ปีที่แล้ว

      @@bkrai Thanks

  • @saisaranv
    @saisaranv 6 ปีที่แล้ว +1

    Simply superb explanation and eagerly waiting for the videos on ML AND AI. If u don't mind can u help like how to predict more of positive cases in the above classification prob?? In my job im facing the issue of classification prob . Even I have tried with class imbalance with help of u r video . Used rose and undersamples methods also. Still getting the worse results. Pls help us to tune for the high sensitivity in classification problems

    • @bkrai
      @bkrai  6 ปีที่แล้ว +1

      Have you tried xgb? Usually it is known for getting good results. Here is the link:
      th-cam.com/video/woVTNwRrFHE/w-d-xo.html

    • @saisaranv
      @saisaranv 6 ปีที่แล้ว

      @@bkrai thanks u so much for the reply sir... I will try today

    • @saisaranv
      @saisaranv 6 ปีที่แล้ว

      small doubt..while working with xgboost can i need to correct class imbalance? or can i directly work with my original data (my data is having 0.98938295 0.01061705 ), pls advise me

  • @earlymorningcodes6100
    @earlymorningcodes6100 4 ปีที่แล้ว +1

    And for the same at 9:22 it is being used as set.seed(222)

    • @bkrai
      @bkrai  4 ปีที่แล้ว

      It ensures repeatability of results. With a different number your result can be different compared to what I got.

  • @000Requiem
    @000Requiem 2 ปีที่แล้ว +1

    Why you did not scale the data before running the KNN?

    • @bkrai
      @bkrai  2 ปีที่แล้ว

      Check at 10:30 point. That's where it was addressed.

  • @earlymorningcodes6100
    @earlymorningcodes6100 4 ปีที่แล้ว +1

    hello sir can you explanin this syntax set.seed(1234) what does this 1234 describes in the bracket

    • @bkrai
      @bkrai  4 ปีที่แล้ว

      It ensures repeatability of results. With a different number your result can be different compared to what I got.

  • @ryleehall4295
    @ryleehall4295 6 ปีที่แล้ว +1

    I am trying to use KNN for my survey data, but almost all of the variables are factors/categorical. Can I still use the knn method?

    • @bkrai
      @bkrai  6 ปีที่แล้ว

      yes that should work fine.

    • @ryleehall4295
      @ryleehall4295 6 ปีที่แล้ว

      @@bkrai I was able to get K=29, but the issue I am having is that all of the values for the confusion matrix are 0 and statistics are all NaN (since it is categorical data). Do you know of a way to get the accuracy in this case?
      Also, I have another question. If I have my training data as 80% and testing data as 20% how can I do prediction without getting a length error?
      Sorry for all of the questions, I just want to understand how to do this correctly

  • @yogifirman5081
    @yogifirman5081 3 ปีที่แล้ว +1

    Why when you want to do confusion matrix error data` and `reference` should be factors with the same levels.

    • @bkrai
      @bkrai  3 ปีที่แล้ว

      We need to compare apples to apples.

  • @faroqueahmed3606
    @faroqueahmed3606 2 ปีที่แล้ว

    Dear sir, Thanks for your great content. Can you help, how can we get the first 5 nearest neighbors of a row (data point) based on the euclidean distance by KNN in R?

  • @purinjikongaboss4900
    @purinjikongaboss4900 5 ปีที่แล้ว +1

    Sir, Boston housing dataset is missing can add the link please

    • @bkrai
      @bkrai  5 ปีที่แล้ว

      The data used here is admission data. Link is available in the description area.

  • @surajitnandy9222
    @surajitnandy9222 6 ปีที่แล้ว +2

    Thanks for sharing this video. I'm a new learner. I'm trying to replicate the same code for practice not sure why I'm getting Error in terms.formula(formula, data = data) : '.' in formula and no 'data' argument file

  • @arsalanriaz7784
    @arsalanriaz7784 4 ปีที่แล้ว +1

    can we use the model for more than two classes?
    like red, blue, purple and black

    • @bkrai
      @bkrai  4 ปีที่แล้ว

      Should work fine.

  • @thejuhulikal6290
    @thejuhulikal6290 3 ปีที่แล้ว

    Hello sir, thanks again for this algorithm video , at the step of variable importance I am getting this error
    "Error in auc3_(actual, predicted, ranks) :
    Not compatible with requested type: [type=character; target=double]."
    What I should do to solve this!!
    Thanks again

  • @amnindersekhon779
    @amnindersekhon779 3 ปีที่แล้ว +1

    Dr. Rai why p=o.75 for caret?

    • @amnindersekhon779
      @amnindersekhon779 3 ปีที่แล้ว +1

      I tried ??caret in R studio, where the package stated p=0.75, and I am little confused with this. Thanks in advance. Amninder

    • @bkrai
      @bkrai  3 ปีที่แล้ว

      At what point in the video are you referring to?

  • @oowe679
    @oowe679 6 ปีที่แล้ว

    Sir, 2 questions..chas is factor variable in the original data. Does it require to convert to numeric for knn? Secondly there is high correlation between independent variables (indus,nox,tax,dis) How to handle in the model?

    • @dhavalpatel1843
      @dhavalpatel1843 4 ปีที่แล้ว

      k-NN involves calculating distances between datapoints, we must use numeric.

  • @nokiamadyaningrum9116
    @nokiamadyaningrum9116 5 ปีที่แล้ว

    Hello Mr. Bharatendra. I am a student in my thesis using K-Nearest Neighbor on Rstudio, I want to ask you, how do you calculate variable importance manually, sir? And how do I display the error level with a graph from the results of cross validation, sir?

  • @anuragraju1159
    @anuragraju1159 4 ปีที่แล้ว

    Sir, i am not able to understand trainControl and train functions in R, though i have gone through the documentation. Is there any video explaining these functionalities?

    • @asthamalhotra2345
      @asthamalhotra2345 4 ปีที่แล้ว

      hi traincontrol is from a package names caret. It is a faster method to train models with additional paramenters like repetitions, scaling (all done simultaneously instead of doing it in different steps) topepo.github.io/caret/ this is the GitHub of the caret package developer max kuhn. Hope this helps

  • @mohamedabusheha4574
    @mohamedabusheha4574 6 ปีที่แล้ว

    Hi, I have question about the K-Nearest Neighbor method with regression, can we get the estimates coefficient of the predictors variable as the regular regression. Also, if you don't mind would you provide us with a new topic that explain how to use Support vector with regression?.

  • @kenn756
    @kenn756 6 ปีที่แล้ว +2

    hi, I really like your videos. can you please do a video on stacking?

    • @bkrai
      @bkrai  6 ปีที่แล้ว

      Thanks for comments and suggestion! I've added it to my list.

  • @drkim2
    @drkim2 5 ปีที่แล้ว +1

    Thanks !!

    • @bkrai
      @bkrai  5 ปีที่แล้ว

      Welcome!

  • @a.latifpatwary3826
    @a.latifpatwary3826 5 ปีที่แล้ว

    How can I run some specific k values like k= 1, 15, 40, 80, 120 in knn regression tuneGrid?

    • @dhavalpatel1843
      @dhavalpatel1843 4 ปีที่แล้ว

      knn = KNeighborsClassifier(n_neighbors=1)
      knn.fit(X, y)
      y_pred = knn.predict(X)
      print(metrics.accuracy_score(y, y_pred))
      (For 1)

  • @azmatraja5767
    @azmatraja5767 3 ปีที่แล้ว +1

    FIRST OF ALL THANKS FOR THE VIDEOS, SIR WHAT WE NEED TO DO FOR THREE LEVELS CLASS

    • @bkrai
      @bkrai  3 ปีที่แล้ว +1

      Three levels should work fine.

    • @azmatraja5767
      @azmatraja5767 3 ปีที่แล้ว

      @@bkrai thank you
      yes i tried for 3 class got the results
      is it okay with efficiency 70.6%?

  • @StoicRichie
    @StoicRichie 3 ปีที่แล้ว

    I am getting an error varImp(fit) - as error auc3 _

  • @ZeeNoorTrip
    @ZeeNoorTrip 3 ปีที่แล้ว +1

    y do we need to use variable as factor?

    • @bkrai
      @bkrai  3 ปีที่แล้ว

      Probably this link can help answer:
      th-cam.com/video/ftjNuPkPQB4/w-d-xo.html

    • @ZeeNoorTrip
      @ZeeNoorTrip 3 ปีที่แล้ว +1

      @@bkrai thank you
      Do you have any video which contain 200 variables and 1000s of observations

    • @bkrai
      @bkrai  3 ปีที่แล้ว

      not yet.

  • @surajitnandy9222
    @surajitnandy9222 6 ปีที่แล้ว +1

    Sorry here's the code which I'm using . I'm trying to replicate the same code for practice not sure why I'm getting Error in terms.formula(formula, data = data) : '.' in formula and no 'data' argument file

    • @surajitnandy9222
      @surajitnandy9222 6 ปีที่แล้ว +1

      fit

    • @bkrai
      @bkrai  6 ปีที่แล้ว

      Thanks for the update!
      In R you can ignore warnings. They are not errors.

    • @surajitnandy9222
      @surajitnandy9222 6 ปีที่แล้ว

      Thank you

  • @sharmiochannel
    @sharmiochannel 4 ปีที่แล้ว +1

    how to implement from scratch KNN?

    • @bkrai
      @bkrai  4 ปีที่แล้ว

      Implementation depends on business background. Where are you planning to implement it?

  • @earlymorningcodes6100
    @earlymorningcodes6100 4 ปีที่แล้ว +1

    17:59 Model Performance

    • @bkrai
      @bkrai  4 ปีที่แล้ว

      Thx

  • @mutindafestus5619
    @mutindafestus5619 6 ปีที่แล้ว

    hello
    can i connect with you ?

  • @earlymorningcodes6100
    @earlymorningcodes6100 4 ปีที่แล้ว +1

    17:23 Boston housing Pricing Data Partition

    • @bkrai
      @bkrai  4 ปีที่แล้ว

      Thx

  • @tarkatirtha
    @tarkatirtha 4 ปีที่แล้ว +1

    Your content is VERY GOOD but sound quality is bad. Also pls do NOT experiment with visual effects in such videos.

    • @bkrai
      @bkrai  4 ปีที่แล้ว

      Thanks for suggestions!

  • @earlymorningcodes6100
    @earlymorningcodes6100 4 ปีที่แล้ว +1

    11:02 Model Performance

    • @bkrai
      @bkrai  4 ปีที่แล้ว

      Thx

  • @ianjiang2949
    @ianjiang2949 4 ปีที่แล้ว +1

    OMG this is so helpful

    • @bkrai
      @bkrai  4 ปีที่แล้ว

      Thanks for comments!

  • @earlymorningcodes6100
    @earlymorningcodes6100 4 ปีที่แล้ว +1

    "K nearest neighbour method" 8:31

    • @bkrai
      @bkrai  4 ปีที่แล้ว +1

      Thx

    • @bkrai
      @bkrai  4 ปีที่แล้ว

      Thx

  • @earlymorningcodes6100
    @earlymorningcodes6100 4 ปีที่แล้ว +1

    "Data Partition" 7:28

    • @bkrai
      @bkrai  4 ปีที่แล้ว

      Thx

  • @earlymorningcodes6100
    @earlymorningcodes6100 4 ปีที่แล้ว +1

    "Classification" 5:54

    • @bkrai
      @bkrai  4 ปีที่แล้ว

      Thx