Machine Learning with Python! K Nearest Neighbors Classification Algorithm (KNN)
Adrian Dolinay
Tutorial on how to program a K Nearest Neighbors (KNN) Classification algorithm within Python. Learn how to code out the KNN algorithm, implement the algorithm to classify a variable within a data set and understand the drawbacks of KNN.
GitHub repo containing the notebook under "Machine Learning Workshops" - https://github.com/tudev/Workshops-2020-2021
CONNECT: LinkedIn: https://www.linkedin.com/in/adrian-dolinay-frm-96a289106/ GitHub: https://github.com/ad17171717 Twitter: https://twitter.com/DolinayG
------Video Chapters------ 0:00 - Intro 0:19 - Definition of K Nearest Neighbors (KNN) Algorithm 0:50 - Loading in data set using pandas 2:10 - Creating dummy variables 3:01 - Correlation between dependent and independent variables 4:28 - Visualizing clustering within the data set 5:22 - KNN algorithm from scratch 19:21 - Measuring the accuracy of KNN classifier 20:56 - KNN algorithm using Scikit-Learn 22:55 - Issues with KNN 31:27 - References and additional learning ... https://www.youtube.com/watch?v=l3TP8wickk4
98610748 Bytes