SlideShare a Scribd company logo
1 of 13
© DataMites™. All Rights Reserved | www.datamites.com
K-Nearest Neighbors
Supervised Machine Learning
Accredited with IABAC™
( International Association of Business Analytics Certifications)`
STATISTICS FOR DATA SCIENCE
© DataMites™. All Rights Reserved | www.datamites.com
Course Topics
 What is K-Nearest Neighbors ?
 How K-Nearest Neighbors works?
 K-Nearest Neighbors Assumptions
 Pros and Cons of K-Nearest Neighbors .
 Applications of K-Nearest Neighbors .
 Modeling K-Nearest Neighbors with Python
STATISTICS FOR DATA SCIENCE
© DataMites™. All Rights Reserved | www.datamites.com
What is K-Nearest Neighbors algorithm?
K-Nearest Neighbors (KNN) is one of the fundamental algorithms for
classification in Machine Learning. KNN need labeled data to learn
and, so belongs to the supervised learning category.
KNN is widely disposable in real-life scenarios since it is non-
parametric, meaning, it does not make any underlying assumptions
about the distribution of data.
STATISTICS FOR DATA SCIENCE
© DataMites™. All Rights Reserved | www.datamites.com
How K-Nearest Neighbors Works?
• KNN works based on
minimum distance from
the query instance to the
training samples to
determine the K-nearest
neighbors.
STATISTICS FOR DATA SCIENCE
© DataMites™. All Rights Reserved | www.datamites.com
1-Nearest Neighbor
x
STATISTICS FOR DATA SCIENCE
© DataMites™. All Rights Reserved | www.datamites.com
2-Nearest Neighbor
?
STATISTICS FOR DATA SCIENCE
© DataMites™. All Rights Reserved | www.datamites.com
3-Nearest Neighbor
X
STATISTICS FOR DATA SCIENCE
© DataMites™. All Rights Reserved | www.datamites.com
8-Nearest Neighbor
X
STATISTICS FOR DATA SCIENCE
© DataMites™. All Rights Reserved | www.datamites.com
Pros of K-Nearest Neighbors
• Simple to implement
• Flexible to feature / distance choices
• Naturally handles multi-class cases
• Can do well in practice with enough representative data
STATISTICS FOR DATA SCIENCE
© DataMites™. All Rights Reserved | www.datamites.com
Cons of K-Nearest Neighbor
• Need to determine value of parameter K (number of nearest
neighbors)
• Computation cost is quite high because we need to compute
distance of each query instance to all training samples.
• Storage of data
• Must know we have a meaningful distance function
STATISTICS FOR DATA SCIENCE
© DataMites™. All Rights Reserved | www.datamites.com
Popular Applications of KNN
 Concept Search : Searching for semantically similar
documents (i.e., documents containing similar topics)
 Recommender Systems : If a customer likes a particular item,
then you can recommend similar items for them. Also in Ads
display etc.,
 Facial recognition, Finger print detection
STATISTICS FOR DATA SCIENCE
© DataMites™. All Rights Reserved | www.datamites.com
Controlling COMPLEXITY in k-NN
STATISTICS FOR DATA SCIENCE
© DataMites™. All Rights Reserved | www.datamites.com
DataMites™ is a global institute of Data Science, Machine Learning, IoT and Artificial Intelligence
Training and Consulting for individuals and Corporate.
For courses enquires
Call : +4420 8089 9220 (UK) (USA) | 1800 313 3434 (India Toll Free)
Email : enquiry@datamites.com | Corporate Clients: corp@datamites.com
If you are looking for Data Science Training Course in Bangalore please visit:
https://datamites.com/data-science-course-training-bangalore/
DataMites

More Related Content

What's hot

Feature selection concepts and methods
Feature selection concepts and methodsFeature selection concepts and methods
Feature selection concepts and methodsReza Ramezani
 
Reinforcement Learning 8: Planning and Learning with Tabular Methods
Reinforcement Learning 8: Planning and Learning with Tabular MethodsReinforcement Learning 8: Planning and Learning with Tabular Methods
Reinforcement Learning 8: Planning and Learning with Tabular MethodsSeung Jae Lee
 
ML - Multiple Linear Regression
ML - Multiple Linear RegressionML - Multiple Linear Regression
ML - Multiple Linear RegressionAndrew Ferlitsch
 
Linear Regression Algorithm | Linear Regression in Python | Machine Learning ...
Linear Regression Algorithm | Linear Regression in Python | Machine Learning ...Linear Regression Algorithm | Linear Regression in Python | Machine Learning ...
Linear Regression Algorithm | Linear Regression in Python | Machine Learning ...Edureka!
 
Feature Engineering
Feature EngineeringFeature Engineering
Feature EngineeringHJ van Veen
 
Logistic Regression in Python | Logistic Regression Example | Machine Learnin...
Logistic Regression in Python | Logistic Regression Example | Machine Learnin...Logistic Regression in Python | Logistic Regression Example | Machine Learnin...
Logistic Regression in Python | Logistic Regression Example | Machine Learnin...Edureka!
 
Feature Selection in Machine Learning
Feature Selection in Machine LearningFeature Selection in Machine Learning
Feature Selection in Machine LearningUpekha Vandebona
 
Language modelling and its use cases
Language modelling and its use casesLanguage modelling and its use cases
Language modelling and its use casesKhrystyna Skopyk
 
An introduction to Machine Learning
An introduction to Machine LearningAn introduction to Machine Learning
An introduction to Machine Learningbutest
 
Machine Learning-Linear regression
Machine Learning-Linear regressionMachine Learning-Linear regression
Machine Learning-Linear regressionkishanthkumaar
 
Deep Reinforcement Learning
Deep Reinforcement LearningDeep Reinforcement Learning
Deep Reinforcement LearningUsman Qayyum
 
Knn Algorithm presentation
Knn Algorithm presentationKnn Algorithm presentation
Knn Algorithm presentationRishavSharma112
 
Machine Learning Using Python
Machine Learning Using PythonMachine Learning Using Python
Machine Learning Using PythonSavitaHanchinal
 
Training machine learning knn 2017
Training machine learning knn 2017Training machine learning knn 2017
Training machine learning knn 2017Iwan Sofana
 
Random Forest In R | Random Forest Algorithm | Random Forest Tutorial |Machin...
Random Forest In R | Random Forest Algorithm | Random Forest Tutorial |Machin...Random Forest In R | Random Forest Algorithm | Random Forest Tutorial |Machin...
Random Forest In R | Random Forest Algorithm | Random Forest Tutorial |Machin...Simplilearn
 
Gradient descent method
Gradient descent methodGradient descent method
Gradient descent methodSanghyuk Chun
 
Feature selection
Feature selectionFeature selection
Feature selectiondkpawar
 
Supervised and unsupervised learning
Supervised and unsupervised learningSupervised and unsupervised learning
Supervised and unsupervised learningParas Kohli
 
Recurrent Neural Network (RNN) | RNN LSTM Tutorial | Deep Learning Course | S...
Recurrent Neural Network (RNN) | RNN LSTM Tutorial | Deep Learning Course | S...Recurrent Neural Network (RNN) | RNN LSTM Tutorial | Deep Learning Course | S...
Recurrent Neural Network (RNN) | RNN LSTM Tutorial | Deep Learning Course | S...Simplilearn
 

What's hot (20)

Feature selection concepts and methods
Feature selection concepts and methodsFeature selection concepts and methods
Feature selection concepts and methods
 
Reinforcement Learning 8: Planning and Learning with Tabular Methods
Reinforcement Learning 8: Planning and Learning with Tabular MethodsReinforcement Learning 8: Planning and Learning with Tabular Methods
Reinforcement Learning 8: Planning and Learning with Tabular Methods
 
Word embedding
Word embedding Word embedding
Word embedding
 
ML - Multiple Linear Regression
ML - Multiple Linear RegressionML - Multiple Linear Regression
ML - Multiple Linear Regression
 
Linear Regression Algorithm | Linear Regression in Python | Machine Learning ...
Linear Regression Algorithm | Linear Regression in Python | Machine Learning ...Linear Regression Algorithm | Linear Regression in Python | Machine Learning ...
Linear Regression Algorithm | Linear Regression in Python | Machine Learning ...
 
Feature Engineering
Feature EngineeringFeature Engineering
Feature Engineering
 
Logistic Regression in Python | Logistic Regression Example | Machine Learnin...
Logistic Regression in Python | Logistic Regression Example | Machine Learnin...Logistic Regression in Python | Logistic Regression Example | Machine Learnin...
Logistic Regression in Python | Logistic Regression Example | Machine Learnin...
 
Feature Selection in Machine Learning
Feature Selection in Machine LearningFeature Selection in Machine Learning
Feature Selection in Machine Learning
 
Language modelling and its use cases
Language modelling and its use casesLanguage modelling and its use cases
Language modelling and its use cases
 
An introduction to Machine Learning
An introduction to Machine LearningAn introduction to Machine Learning
An introduction to Machine Learning
 
Machine Learning-Linear regression
Machine Learning-Linear regressionMachine Learning-Linear regression
Machine Learning-Linear regression
 
Deep Reinforcement Learning
Deep Reinforcement LearningDeep Reinforcement Learning
Deep Reinforcement Learning
 
Knn Algorithm presentation
Knn Algorithm presentationKnn Algorithm presentation
Knn Algorithm presentation
 
Machine Learning Using Python
Machine Learning Using PythonMachine Learning Using Python
Machine Learning Using Python
 
Training machine learning knn 2017
Training machine learning knn 2017Training machine learning knn 2017
Training machine learning knn 2017
 
Random Forest In R | Random Forest Algorithm | Random Forest Tutorial |Machin...
Random Forest In R | Random Forest Algorithm | Random Forest Tutorial |Machin...Random Forest In R | Random Forest Algorithm | Random Forest Tutorial |Machin...
Random Forest In R | Random Forest Algorithm | Random Forest Tutorial |Machin...
 
Gradient descent method
Gradient descent methodGradient descent method
Gradient descent method
 
Feature selection
Feature selectionFeature selection
Feature selection
 
Supervised and unsupervised learning
Supervised and unsupervised learningSupervised and unsupervised learning
Supervised and unsupervised learning
 
Recurrent Neural Network (RNN) | RNN LSTM Tutorial | Deep Learning Course | S...
Recurrent Neural Network (RNN) | RNN LSTM Tutorial | Deep Learning Course | S...Recurrent Neural Network (RNN) | RNN LSTM Tutorial | Deep Learning Course | S...
Recurrent Neural Network (RNN) | RNN LSTM Tutorial | Deep Learning Course | S...
 

Similar to K Nearest Neighbor V1.0 Supervised Machine Learning Algorithm

Deploying Enterprise Scale Deep Learning in Actuarial Modeling at Nationwide
Deploying Enterprise Scale Deep Learning in Actuarial Modeling at NationwideDeploying Enterprise Scale Deep Learning in Actuarial Modeling at Nationwide
Deploying Enterprise Scale Deep Learning in Actuarial Modeling at NationwideDatabricks
 
Bridging the Gap: Analyzing Data in and Below the Cloud
Bridging the Gap: Analyzing Data in and Below the CloudBridging the Gap: Analyzing Data in and Below the Cloud
Bridging the Gap: Analyzing Data in and Below the CloudInside Analysis
 
Makine Öğrenmesi, Yapay Zeka ve Veri Bilimi Süreçlerinin Otomatikleştirilmesi...
Makine Öğrenmesi, Yapay Zeka ve Veri Bilimi Süreçlerinin Otomatikleştirilmesi...Makine Öğrenmesi, Yapay Zeka ve Veri Bilimi Süreçlerinin Otomatikleştirilmesi...
Makine Öğrenmesi, Yapay Zeka ve Veri Bilimi Süreçlerinin Otomatikleştirilmesi...Ali Alkan
 
AI for Software Engineering
AI for Software EngineeringAI for Software Engineering
AI for Software EngineeringMiroslaw Staron
 
Intelligently Automating Machine Learning, Artificial Intelligence, and Data ...
Intelligently Automating Machine Learning, Artificial Intelligence, and Data ...Intelligently Automating Machine Learning, Artificial Intelligence, and Data ...
Intelligently Automating Machine Learning, Artificial Intelligence, and Data ...Ali Alkan
 
Amazon SageMaker 內建機器學習演算法 (Level 400)
Amazon SageMaker 內建機器學習演算法 (Level 400)Amazon SageMaker 內建機器學習演算法 (Level 400)
Amazon SageMaker 內建機器學習演算法 (Level 400)Amazon Web Services
 
Machine Learning Algorithms and Applications for Data Scientists.pptx
Machine Learning Algorithms and Applications for Data Scientists.pptxMachine Learning Algorithms and Applications for Data Scientists.pptx
Machine Learning Algorithms and Applications for Data Scientists.pptxJAMESJOHN130
 
Turbo charge-your-analytics-with-ibm-netezza-and-revolution-r-enterprise-pres...
Turbo charge-your-analytics-with-ibm-netezza-and-revolution-r-enterprise-pres...Turbo charge-your-analytics-with-ibm-netezza-and-revolution-r-enterprise-pres...
Turbo charge-your-analytics-with-ibm-netezza-and-revolution-r-enterprise-pres...Massimo Gaetano Panunzio
 
NEW LAUNCH! Graph-based Approaches for Cyber Investigative Analytics Using GP...
NEW LAUNCH! Graph-based Approaches for Cyber Investigative Analytics Using GP...NEW LAUNCH! Graph-based Approaches for Cyber Investigative Analytics Using GP...
NEW LAUNCH! Graph-based Approaches for Cyber Investigative Analytics Using GP...Amazon Web Services
 
Using Machine Learning to Understand and Predict Marketing ROI
Using Machine Learning to Understand and Predict Marketing ROIUsing Machine Learning to Understand and Predict Marketing ROI
Using Machine Learning to Understand and Predict Marketing ROIDATAVERSITY
 
KNN Algorithm using Python | How KNN Algorithm works | Python Data Science Tr...
KNN Algorithm using Python | How KNN Algorithm works | Python Data Science Tr...KNN Algorithm using Python | How KNN Algorithm works | Python Data Science Tr...
KNN Algorithm using Python | How KNN Algorithm works | Python Data Science Tr...Edureka!
 
Shift Remote: AI: Smarter AI with analytical graph databases - Victor Lee (Ti...
Shift Remote: AI: Smarter AI with analytical graph databases - Victor Lee (Ti...Shift Remote: AI: Smarter AI with analytical graph databases - Victor Lee (Ti...
Shift Remote: AI: Smarter AI with analytical graph databases - Victor Lee (Ti...Shift Conference
 
Introduction to Data Science (Data Summit, 2017)
Introduction to Data Science (Data Summit, 2017)Introduction to Data Science (Data Summit, 2017)
Introduction to Data Science (Data Summit, 2017)Caserta
 
expeditions praneeth_june-2021
expeditions praneeth_june-2021expeditions praneeth_june-2021
expeditions praneeth_june-2021Praneeth Vepakomma
 
Data Science at Scale on MPP databases - Use Cases & Open Source Tools
Data Science at Scale on MPP databases - Use Cases & Open Source ToolsData Science at Scale on MPP databases - Use Cases & Open Source Tools
Data Science at Scale on MPP databases - Use Cases & Open Source ToolsEsther Vasiete
 
Machine Learning Foundations for Professional Managers
Machine Learning Foundations for Professional ManagersMachine Learning Foundations for Professional Managers
Machine Learning Foundations for Professional ManagersAlbert Y. C. Chen
 
Graph Gurus Episode 32: Using Graph Algorithms for Advanced Analytics Part 5
Graph Gurus Episode 32: Using Graph Algorithms for Advanced Analytics Part 5Graph Gurus Episode 32: Using Graph Algorithms for Advanced Analytics Part 5
Graph Gurus Episode 32: Using Graph Algorithms for Advanced Analytics Part 5TigerGraph
 
Using Graph Algorithms for Advanced Analytics - Part 5 Classification
Using Graph Algorithms for Advanced Analytics - Part 5 ClassificationUsing Graph Algorithms for Advanced Analytics - Part 5 Classification
Using Graph Algorithms for Advanced Analytics - Part 5 ClassificationTigerGraph
 
Real-Time With AI – The Convergence Of Big Data And AI by Colin MacNaughton
Real-Time With AI – The Convergence Of Big Data And AI by Colin MacNaughtonReal-Time With AI – The Convergence Of Big Data And AI by Colin MacNaughton
Real-Time With AI – The Convergence Of Big Data And AI by Colin MacNaughtonSynerzip
 
Connecting the dots - How Amazon Neptune and Graph Databases can transform yo...
Connecting the dots - How Amazon Neptune and Graph Databases can transform yo...Connecting the dots - How Amazon Neptune and Graph Databases can transform yo...
Connecting the dots - How Amazon Neptune and Graph Databases can transform yo...Amazon Web Services
 

Similar to K Nearest Neighbor V1.0 Supervised Machine Learning Algorithm (20)

Deploying Enterprise Scale Deep Learning in Actuarial Modeling at Nationwide
Deploying Enterprise Scale Deep Learning in Actuarial Modeling at NationwideDeploying Enterprise Scale Deep Learning in Actuarial Modeling at Nationwide
Deploying Enterprise Scale Deep Learning in Actuarial Modeling at Nationwide
 
Bridging the Gap: Analyzing Data in and Below the Cloud
Bridging the Gap: Analyzing Data in and Below the CloudBridging the Gap: Analyzing Data in and Below the Cloud
Bridging the Gap: Analyzing Data in and Below the Cloud
 
Makine Öğrenmesi, Yapay Zeka ve Veri Bilimi Süreçlerinin Otomatikleştirilmesi...
Makine Öğrenmesi, Yapay Zeka ve Veri Bilimi Süreçlerinin Otomatikleştirilmesi...Makine Öğrenmesi, Yapay Zeka ve Veri Bilimi Süreçlerinin Otomatikleştirilmesi...
Makine Öğrenmesi, Yapay Zeka ve Veri Bilimi Süreçlerinin Otomatikleştirilmesi...
 
AI for Software Engineering
AI for Software EngineeringAI for Software Engineering
AI for Software Engineering
 
Intelligently Automating Machine Learning, Artificial Intelligence, and Data ...
Intelligently Automating Machine Learning, Artificial Intelligence, and Data ...Intelligently Automating Machine Learning, Artificial Intelligence, and Data ...
Intelligently Automating Machine Learning, Artificial Intelligence, and Data ...
 
Amazon SageMaker 內建機器學習演算法 (Level 400)
Amazon SageMaker 內建機器學習演算法 (Level 400)Amazon SageMaker 內建機器學習演算法 (Level 400)
Amazon SageMaker 內建機器學習演算法 (Level 400)
 
Machine Learning Algorithms and Applications for Data Scientists.pptx
Machine Learning Algorithms and Applications for Data Scientists.pptxMachine Learning Algorithms and Applications for Data Scientists.pptx
Machine Learning Algorithms and Applications for Data Scientists.pptx
 
Turbo charge-your-analytics-with-ibm-netezza-and-revolution-r-enterprise-pres...
Turbo charge-your-analytics-with-ibm-netezza-and-revolution-r-enterprise-pres...Turbo charge-your-analytics-with-ibm-netezza-and-revolution-r-enterprise-pres...
Turbo charge-your-analytics-with-ibm-netezza-and-revolution-r-enterprise-pres...
 
NEW LAUNCH! Graph-based Approaches for Cyber Investigative Analytics Using GP...
NEW LAUNCH! Graph-based Approaches for Cyber Investigative Analytics Using GP...NEW LAUNCH! Graph-based Approaches for Cyber Investigative Analytics Using GP...
NEW LAUNCH! Graph-based Approaches for Cyber Investigative Analytics Using GP...
 
Using Machine Learning to Understand and Predict Marketing ROI
Using Machine Learning to Understand and Predict Marketing ROIUsing Machine Learning to Understand and Predict Marketing ROI
Using Machine Learning to Understand and Predict Marketing ROI
 
KNN Algorithm using Python | How KNN Algorithm works | Python Data Science Tr...
KNN Algorithm using Python | How KNN Algorithm works | Python Data Science Tr...KNN Algorithm using Python | How KNN Algorithm works | Python Data Science Tr...
KNN Algorithm using Python | How KNN Algorithm works | Python Data Science Tr...
 
Shift Remote: AI: Smarter AI with analytical graph databases - Victor Lee (Ti...
Shift Remote: AI: Smarter AI with analytical graph databases - Victor Lee (Ti...Shift Remote: AI: Smarter AI with analytical graph databases - Victor Lee (Ti...
Shift Remote: AI: Smarter AI with analytical graph databases - Victor Lee (Ti...
 
Introduction to Data Science (Data Summit, 2017)
Introduction to Data Science (Data Summit, 2017)Introduction to Data Science (Data Summit, 2017)
Introduction to Data Science (Data Summit, 2017)
 
expeditions praneeth_june-2021
expeditions praneeth_june-2021expeditions praneeth_june-2021
expeditions praneeth_june-2021
 
Data Science at Scale on MPP databases - Use Cases & Open Source Tools
Data Science at Scale on MPP databases - Use Cases & Open Source ToolsData Science at Scale on MPP databases - Use Cases & Open Source Tools
Data Science at Scale on MPP databases - Use Cases & Open Source Tools
 
Machine Learning Foundations for Professional Managers
Machine Learning Foundations for Professional ManagersMachine Learning Foundations for Professional Managers
Machine Learning Foundations for Professional Managers
 
Graph Gurus Episode 32: Using Graph Algorithms for Advanced Analytics Part 5
Graph Gurus Episode 32: Using Graph Algorithms for Advanced Analytics Part 5Graph Gurus Episode 32: Using Graph Algorithms for Advanced Analytics Part 5
Graph Gurus Episode 32: Using Graph Algorithms for Advanced Analytics Part 5
 
Using Graph Algorithms for Advanced Analytics - Part 5 Classification
Using Graph Algorithms for Advanced Analytics - Part 5 ClassificationUsing Graph Algorithms for Advanced Analytics - Part 5 Classification
Using Graph Algorithms for Advanced Analytics - Part 5 Classification
 
Real-Time With AI – The Convergence Of Big Data And AI by Colin MacNaughton
Real-Time With AI – The Convergence Of Big Data And AI by Colin MacNaughtonReal-Time With AI – The Convergence Of Big Data And AI by Colin MacNaughton
Real-Time With AI – The Convergence Of Big Data And AI by Colin MacNaughton
 
Connecting the dots - How Amazon Neptune and Graph Databases can transform yo...
Connecting the dots - How Amazon Neptune and Graph Databases can transform yo...Connecting the dots - How Amazon Neptune and Graph Databases can transform yo...
Connecting the dots - How Amazon Neptune and Graph Databases can transform yo...
 

More from DataMites

Certified Data Analytics Course in Pune-May.pptx
Certified Data Analytics Course in Pune-May.pptxCertified Data Analytics Course in Pune-May.pptx
Certified Data Analytics Course in Pune-May.pptxDataMites
 
Certified Data Science Course in Pune-May
Certified Data Science Course in Pune-MayCertified Data Science Course in Pune-May
Certified Data Science Course in Pune-MayDataMites
 
Data Analytics Course in Coimbatore-April
Data Analytics Course in Coimbatore-AprilData Analytics Course in Coimbatore-April
Data Analytics Course in Coimbatore-AprilDataMites
 
Certified Data Science Course in Coimbatore-April
Certified Data Science Course in Coimbatore-AprilCertified Data Science Course in Coimbatore-April
Certified Data Science Course in Coimbatore-AprilDataMites
 
Certified Data Analytics Course in Chennai-April
Certified Data Analytics Course in Chennai-AprilCertified Data Analytics Course in Chennai-April
Certified Data Analytics Course in Chennai-AprilDataMites
 
Certified Data Science Course in Pune-April
Certified Data Science Course in Pune-AprilCertified Data Science Course in Pune-April
Certified Data Science Course in Pune-AprilDataMites
 
Certified Data Analytics Course in Chennai-April
Certified Data Analytics Course in Chennai-AprilCertified Data Analytics Course in Chennai-April
Certified Data Analytics Course in Chennai-AprilDataMites
 
Certified Data Science Training in Pune-April
Certified Data Science Training in Pune-AprilCertified Data Science Training in Pune-April
Certified Data Science Training in Pune-AprilDataMites
 
Certified Data Analytics Training in Pune-April
Certified Data Analytics Training in Pune-AprilCertified Data Analytics Training in Pune-April
Certified Data Analytics Training in Pune-AprilDataMites
 
Certified Data Analytics Course in Chennai-April
Certified Data Analytics Course in Chennai-AprilCertified Data Analytics Course in Chennai-April
Certified Data Analytics Course in Chennai-AprilDataMites
 
Certified Data Science Training in Pune-April
Certified Data Science Training in Pune-AprilCertified Data Science Training in Pune-April
Certified Data Science Training in Pune-AprilDataMites
 
Certified Data Analyst Course in Pune-April
Certified Data Analyst Course in Pune-AprilCertified Data Analyst Course in Pune-April
Certified Data Analyst Course in Pune-AprilDataMites
 
Certified Data Analyst Course in Chennai-April
Certified Data Analyst Course in Chennai-AprilCertified Data Analyst Course in Chennai-April
Certified Data Analyst Course in Chennai-AprilDataMites
 
Certified Data Scientist Course in Pune-April.pptx
Certified Data Scientist Course in Pune-April.pptxCertified Data Scientist Course in Pune-April.pptx
Certified Data Scientist Course in Pune-April.pptxDataMites
 
Certified Data Analyst Course in Pune-March
Certified Data Analyst Course in Pune-MarchCertified Data Analyst Course in Pune-March
Certified Data Analyst Course in Pune-MarchDataMites
 
Certified Data Analyst Course in Chennai-March
Certified Data Analyst Course in Chennai-MarchCertified Data Analyst Course in Chennai-March
Certified Data Analyst Course in Chennai-MarchDataMites
 
Certified Data Science Course in Pune-March
Certified Data Science Course in Pune-MarchCertified Data Science Course in Pune-March
Certified Data Science Course in Pune-MarchDataMites
 
Certified Data Science Course in Chennai-March
Certified Data Science Course in Chennai-MarchCertified Data Science Course in Chennai-March
Certified Data Science Course in Chennai-MarchDataMites
 
Data Analytics Certification in Pune-March
Data Analytics Certification in Pune-MarchData Analytics Certification in Pune-March
Data Analytics Certification in Pune-MarchDataMites
 
Data Analytics Certification in Chennai-March
Data Analytics Certification in Chennai-MarchData Analytics Certification in Chennai-March
Data Analytics Certification in Chennai-MarchDataMites
 

More from DataMites (20)

Certified Data Analytics Course in Pune-May.pptx
Certified Data Analytics Course in Pune-May.pptxCertified Data Analytics Course in Pune-May.pptx
Certified Data Analytics Course in Pune-May.pptx
 
Certified Data Science Course in Pune-May
Certified Data Science Course in Pune-MayCertified Data Science Course in Pune-May
Certified Data Science Course in Pune-May
 
Data Analytics Course in Coimbatore-April
Data Analytics Course in Coimbatore-AprilData Analytics Course in Coimbatore-April
Data Analytics Course in Coimbatore-April
 
Certified Data Science Course in Coimbatore-April
Certified Data Science Course in Coimbatore-AprilCertified Data Science Course in Coimbatore-April
Certified Data Science Course in Coimbatore-April
 
Certified Data Analytics Course in Chennai-April
Certified Data Analytics Course in Chennai-AprilCertified Data Analytics Course in Chennai-April
Certified Data Analytics Course in Chennai-April
 
Certified Data Science Course in Pune-April
Certified Data Science Course in Pune-AprilCertified Data Science Course in Pune-April
Certified Data Science Course in Pune-April
 
Certified Data Analytics Course in Chennai-April
Certified Data Analytics Course in Chennai-AprilCertified Data Analytics Course in Chennai-April
Certified Data Analytics Course in Chennai-April
 
Certified Data Science Training in Pune-April
Certified Data Science Training in Pune-AprilCertified Data Science Training in Pune-April
Certified Data Science Training in Pune-April
 
Certified Data Analytics Training in Pune-April
Certified Data Analytics Training in Pune-AprilCertified Data Analytics Training in Pune-April
Certified Data Analytics Training in Pune-April
 
Certified Data Analytics Course in Chennai-April
Certified Data Analytics Course in Chennai-AprilCertified Data Analytics Course in Chennai-April
Certified Data Analytics Course in Chennai-April
 
Certified Data Science Training in Pune-April
Certified Data Science Training in Pune-AprilCertified Data Science Training in Pune-April
Certified Data Science Training in Pune-April
 
Certified Data Analyst Course in Pune-April
Certified Data Analyst Course in Pune-AprilCertified Data Analyst Course in Pune-April
Certified Data Analyst Course in Pune-April
 
Certified Data Analyst Course in Chennai-April
Certified Data Analyst Course in Chennai-AprilCertified Data Analyst Course in Chennai-April
Certified Data Analyst Course in Chennai-April
 
Certified Data Scientist Course in Pune-April.pptx
Certified Data Scientist Course in Pune-April.pptxCertified Data Scientist Course in Pune-April.pptx
Certified Data Scientist Course in Pune-April.pptx
 
Certified Data Analyst Course in Pune-March
Certified Data Analyst Course in Pune-MarchCertified Data Analyst Course in Pune-March
Certified Data Analyst Course in Pune-March
 
Certified Data Analyst Course in Chennai-March
Certified Data Analyst Course in Chennai-MarchCertified Data Analyst Course in Chennai-March
Certified Data Analyst Course in Chennai-March
 
Certified Data Science Course in Pune-March
Certified Data Science Course in Pune-MarchCertified Data Science Course in Pune-March
Certified Data Science Course in Pune-March
 
Certified Data Science Course in Chennai-March
Certified Data Science Course in Chennai-MarchCertified Data Science Course in Chennai-March
Certified Data Science Course in Chennai-March
 
Data Analytics Certification in Pune-March
Data Analytics Certification in Pune-MarchData Analytics Certification in Pune-March
Data Analytics Certification in Pune-March
 
Data Analytics Certification in Chennai-March
Data Analytics Certification in Chennai-MarchData Analytics Certification in Chennai-March
Data Analytics Certification in Chennai-March
 

Recently uploaded

Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfMarket Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfRachmat Ramadhan H
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfLars Albertsson
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxJohnnyPlasten
 
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptxBPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptxMohammedJunaid861692
 
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% SecureCall me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% SecurePooja Nehwal
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz1
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiVIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiSuhani Kapoor
 
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130Suhani Kapoor
 
Introduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxIntroduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxfirstjob4
 
Halmar dropshipping via API with DroFx
Halmar  dropshipping  via API with DroFxHalmar  dropshipping  via API with DroFx
Halmar dropshipping via API with DroFxolyaivanovalion
 
Week-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionWeek-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionfulawalesam
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxolyaivanovalion
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptxAnupama Kate
 
04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationshipsccctableauusergroup
 
VidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxVidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxolyaivanovalion
 
Industrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfIndustrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfLars Albertsson
 

Recently uploaded (20)

Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfMarket Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdf
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptx
 
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in  KishangarhDelhi 99530 vip 56974 Genuine Escort Service Call Girls in  Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
 
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptxBPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
 
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% SecureCall me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signals
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiVIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
 
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
 
Introduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxIntroduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptx
 
Halmar dropshipping via API with DroFx
Halmar  dropshipping  via API with DroFxHalmar  dropshipping  via API with DroFx
Halmar dropshipping via API with DroFx
 
Week-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionWeek-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interaction
 
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
 
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFx
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx
 
04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships
 
VidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxVidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptx
 
Industrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfIndustrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdf
 

K Nearest Neighbor V1.0 Supervised Machine Learning Algorithm

  • 1. © DataMites™. All Rights Reserved | www.datamites.com K-Nearest Neighbors Supervised Machine Learning Accredited with IABAC™ ( International Association of Business Analytics Certifications)` STATISTICS FOR DATA SCIENCE
  • 2. © DataMites™. All Rights Reserved | www.datamites.com Course Topics  What is K-Nearest Neighbors ?  How K-Nearest Neighbors works?  K-Nearest Neighbors Assumptions  Pros and Cons of K-Nearest Neighbors .  Applications of K-Nearest Neighbors .  Modeling K-Nearest Neighbors with Python STATISTICS FOR DATA SCIENCE
  • 3. © DataMites™. All Rights Reserved | www.datamites.com What is K-Nearest Neighbors algorithm? K-Nearest Neighbors (KNN) is one of the fundamental algorithms for classification in Machine Learning. KNN need labeled data to learn and, so belongs to the supervised learning category. KNN is widely disposable in real-life scenarios since it is non- parametric, meaning, it does not make any underlying assumptions about the distribution of data. STATISTICS FOR DATA SCIENCE
  • 4. © DataMites™. All Rights Reserved | www.datamites.com How K-Nearest Neighbors Works? • KNN works based on minimum distance from the query instance to the training samples to determine the K-nearest neighbors. STATISTICS FOR DATA SCIENCE
  • 5. © DataMites™. All Rights Reserved | www.datamites.com 1-Nearest Neighbor x STATISTICS FOR DATA SCIENCE
  • 6. © DataMites™. All Rights Reserved | www.datamites.com 2-Nearest Neighbor ? STATISTICS FOR DATA SCIENCE
  • 7. © DataMites™. All Rights Reserved | www.datamites.com 3-Nearest Neighbor X STATISTICS FOR DATA SCIENCE
  • 8. © DataMites™. All Rights Reserved | www.datamites.com 8-Nearest Neighbor X STATISTICS FOR DATA SCIENCE
  • 9. © DataMites™. All Rights Reserved | www.datamites.com Pros of K-Nearest Neighbors • Simple to implement • Flexible to feature / distance choices • Naturally handles multi-class cases • Can do well in practice with enough representative data STATISTICS FOR DATA SCIENCE
  • 10. © DataMites™. All Rights Reserved | www.datamites.com Cons of K-Nearest Neighbor • Need to determine value of parameter K (number of nearest neighbors) • Computation cost is quite high because we need to compute distance of each query instance to all training samples. • Storage of data • Must know we have a meaningful distance function STATISTICS FOR DATA SCIENCE
  • 11. © DataMites™. All Rights Reserved | www.datamites.com Popular Applications of KNN  Concept Search : Searching for semantically similar documents (i.e., documents containing similar topics)  Recommender Systems : If a customer likes a particular item, then you can recommend similar items for them. Also in Ads display etc.,  Facial recognition, Finger print detection STATISTICS FOR DATA SCIENCE
  • 12. © DataMites™. All Rights Reserved | www.datamites.com Controlling COMPLEXITY in k-NN STATISTICS FOR DATA SCIENCE
  • 13. © DataMites™. All Rights Reserved | www.datamites.com DataMites™ is a global institute of Data Science, Machine Learning, IoT and Artificial Intelligence Training and Consulting for individuals and Corporate. For courses enquires Call : +4420 8089 9220 (UK) (USA) | 1800 313 3434 (India Toll Free) Email : enquiry@datamites.com | Corporate Clients: corp@datamites.com If you are looking for Data Science Training Course in Bangalore please visit: https://datamites.com/data-science-course-training-bangalore/ DataMites