YouTube: https://youtu.be/XSoau_q0kz8
** Data Science Certification using R: https://www.edureka.co/data-science **
This Edureka PPT on "KNN algorithm using R", will help you learn about the KNN algorithm in depth, you'll also see how KNN is used to solve real-world problems. Below are the topics covered in this module:
Introduction to Machine Learning
What is KNN Algorithm?
KNN Use Case
KNN Algorithm step by step
Hands - On
Introduction to Machine Learning
What is KNN Algorithm?
KNN Use Case
KNN Algorithm step by step
Hands - On
Blog Series: http://bit.ly/data-science-blogs
Data Science Training Playlist: http://bit.ly/data-science-playlist
Follow us to never miss an update in the future.
YouTube: https://www.youtube.com/user/edurekaIN
Instagram: https://www.instagram.com/edureka_learning/
Facebook: https://www.facebook.com/edurekaIN/
Twitter: https://twitter.com/edurekain
LinkedIn: https://www.linkedin.com/company/edureka
4. Machine learning is a subset of artificial intelligence (AI) which
provides machines the ability to learn automatically & improve from
experience without being explicitly programmed.
What Is Machine
Learning? Continuously
feed data
5. Machine learning is a subset of artificial intelligence (AI) which
provides machines the ability to learn automatically & improve from
experience without being explicitly programmed.
What Is Machine
Learning? Continuously
feed data
Predicted
output
8. Unsupervised learning is the training of machine using information
that is unlabelled and allowing the algorithm to act on that
information without guidance
Unsupervised
Machine Learning
9. Reinforcement
Machine Learning
Reinforcement Learning is a part of Machine learning where an agent is put
in an environment and he learns to behave in this environment by
performing certain actions and observing the rewards which it gets from
those actions.
11. DATA SCIENCE CERTIFICATION www.edureka.co/data-science
What Is KNN Algorithm?
K Nearest Neighbour is a Supervised Learning algorithm that classifies a new data point into
the target class, depending on the features of it’s neighbouring data points.
KNN Algorithm
12. DATA SCIENCE CERTIFICATION www.edureka.co/data-science
Features Of KNN
Supervised learning
algorithm
Simple
Non-parametric
Lazy algorithm
Classification & regression algorithm
Based on feature similarity
No training step
16. DATA SCIENCE CERTIFICATION www.edureka.co/data-science
How Does KNN Algorithm Work?
Problem Statement: Assign the new data point into one of the two clusters
Class A
Class B
17. DATA SCIENCE CERTIFICATION www.edureka.co/data-science
How Does KNN Algorithm Work?
Class A
Class B
Choose the value of ‘k’, here k=3 and find the 3 nearest neighbours
18. DATA SCIENCE CERTIFICATION www.edureka.co/data-science
How Does KNN Algorithm Work?
Here k=7, find the 7 nearest neighbours
Class A
Class B
19. DATA SCIENCE CERTIFICATION www.edureka.co/data-science
How Does KNN Algorithm Work?
Assign the new data point into Class B since majority of it’s nearest neighbours are of type class B
Class A
Class B
22. DATA SCIENCE CERTIFICATION www.edureka.co/data-science
Demo
Problem Statement: Study a bank credit dataset and make a decision about whether to approve the loan of
an applicant based on his profile
KNN algorithm
Approve loan Reject loan
23. DATA SCIENCE CERTIFICATION www.edureka.co/data-science
WebDriver vs. IDE vs. RC
➢ Data Warehouse is like a relational database designed for analytical needs.
➢ It functions on the basis of OLAP (Online Analytical Processing).
➢ It is a central location where consolidated data from multiple locations (databases) are stored.