SlideShare a Scribd company logo
1 of 28
Prepared By
Anand Bhosale
• Labeled Data • Unlabeled Data
X1 X2 Class
10 100 Square
2 4 Root
X1 X2
10 100
2 4
Distances
Distance
Euclidean
Distance
Minkowski
distance
Hamming
Distance
Mahalanobis
Distance
• Manhattan Distance
|X1-X2| + |Y1-Y2|
• Euclidean Distance
• 𝑥1 − 𝑥2 2 +
√ 𝑦1 − 𝑦2 2
• Dist (x,y) >= 0
• Dist (x,y) = Dist (y,x) are Symmetric
• Detours can not Shorten Distance
Dist(x,z) <= Dist(x,y) + Dist (y,z)
X y
z
X y
z
• Distance Measure – What does it mean “Similar"?
• Minkowski Distance
– Norm:
– Chebyshew Distance
– Mahalanobis distance:
d(x , y) = |x – y|TSxy
1|x – y|
m
N
i
m
i
i
m y
x
y
x
y
x
d
/
1
1
)
(
||
||
)
,
( 








 

A term between two terms of a geometric sequence is the geometric
mean of the two terms.
Example: In the geometric sequence 4, 20, 100, ....(with a factor of 5), 20
is the geometric mean of 4 and 100.
• Given: a set P of n points in Rd
• Goal: a data structure, which given a query
point q, finds the nearest neighbor p of q
in P
q
p
• (K-l)-NN: Reduce complexity by having a threshold on the
majority. We could restrict the associations through (K-l)-NN.
• (K-l)-NN: Reduce complexity by having a threshold on the
majority. We could restrict the associations through (K-l)-NN.
K=5
• Select 5 Nearest Neighbors
as Value of K=5 by Taking their
Euclidean Disances
• Decide if majority of Instances over a given
value of K Here, K=5.
Points X1 (Acid Durability ) X2(strength) Y=Classification
P1 7 7 BAD
P2 7 4 BAD
P3 3 4 GOOD
P4 1 4 GOOD
Points X1(Acid Durability) X2(Strength) Y(Classification)
P1 7 7 BAD
P2 7 4 BAD
P3 3 4 GOOD
P4 1 4 GOOD
P5 3 7 ?
KNN
Euclidean
Distance of
P5(3,7) from
P1 P2 P3 P4
(7,7) (7,4) (3,4) (1,4)
Sqrt((7-3) 2 + (7-7)2
) = 16
= 4
Sqrt((7-3) 2 + (4-7)2 )
= 25
= 5
Sqrt((3-3) 2 + (4-
7)2 ) = 9
= 3
Sqrt((1-3) 2 + (4-7)2
) = 13
= 3.60
Euclidean
Distance of
P5(3,7) from
P1 P2 P3 P4
(7,7) (7,4) (3,4) (1,4)
Sqrt((7-3) 2 + (7-7)2
) = 16
= 4
Sqrt((7-3) 2 + (4-7)2 )
= 25
= 5
Sqrt((3-3) 2 + (4-
7)2 ) = 9
= 3
Sqrt((1-3) 2 + (4-7)2
) = 13
= 3.60
Class BAD BAD GOOD GOOD
Points X1(Durability) X2(Strength) Y(Classification)
P1 7 7 BAD
P2 7 4 BAD
P3 3 4 GOOD
P4 1 4 GOOD
P5 3 7 GOOD
• Machine Learning : The Art and Science of Algorithms that Make Sense of Data By
Peter Flach
• A presentation on KNN Algorithm : West Virginia University , Published on May 22,
2015
Machine_Learning_KNN_Presentation.pptx

More Related Content

Similar to Machine_Learning_KNN_Presentation.pptx

Norm-variation of bilinear averages
Norm-variation of bilinear averagesNorm-variation of bilinear averages
Norm-variation of bilinear averagesVjekoslavKovac1
 
Straight-Line-Graphs-Final -2.pptx
Straight-Line-Graphs-Final -2.pptxStraight-Line-Graphs-Final -2.pptx
Straight-Line-Graphs-Final -2.pptxKviskvis
 
CLASS X MATHS
CLASS X MATHS CLASS X MATHS
CLASS X MATHS Rc Os
 
Distance Between Two Points.pptx
Distance Between Two Points.pptxDistance Between Two Points.pptx
Distance Between Two Points.pptxMartinGeraldine
 
Slides: On the Chi Square and Higher-Order Chi Distances for Approximating f-...
Slides: On the Chi Square and Higher-Order Chi Distances for Approximating f-...Slides: On the Chi Square and Higher-Order Chi Distances for Approximating f-...
Slides: On the Chi Square and Higher-Order Chi Distances for Approximating f-...Frank Nielsen
 
Quadratic equation by four different methods
Quadratic equation by four different methodsQuadratic equation by four different methods
Quadratic equation by four different methodsIan Benedict Guil-an
 
Chapter-1-04032021-111422pm (2).pptx
Chapter-1-04032021-111422pm (2).pptxChapter-1-04032021-111422pm (2).pptx
Chapter-1-04032021-111422pm (2).pptxabdulhannan992458
 
ANOVA - Dr. Manu Melwin Joy - School of Management Studies, Cochin University...
ANOVA - Dr. Manu Melwin Joy - School of Management Studies, Cochin University...ANOVA - Dr. Manu Melwin Joy - School of Management Studies, Cochin University...
ANOVA - Dr. Manu Melwin Joy - School of Management Studies, Cochin University...manumelwin
 
Digital Distance Geometry
Digital Distance GeometryDigital Distance Geometry
Digital Distance Geometryppd1961
 

Similar to Machine_Learning_KNN_Presentation.pptx (19)

Distance formula
Distance formulaDistance formula
Distance formula
 
Norm-variation of bilinear averages
Norm-variation of bilinear averagesNorm-variation of bilinear averages
Norm-variation of bilinear averages
 
Maths05
Maths05Maths05
Maths05
 
Measures of variability grouped data
Measures of variability grouped dataMeasures of variability grouped data
Measures of variability grouped data
 
CIRCLES.pptx
CIRCLES.pptxCIRCLES.pptx
CIRCLES.pptx
 
Mathematics
MathematicsMathematics
Mathematics
 
Mathematics
MathematicsMathematics
Mathematics
 
Presentation on calculus
Presentation on calculusPresentation on calculus
Presentation on calculus
 
Straight-Line-Graphs-Final -2.pptx
Straight-Line-Graphs-Final -2.pptxStraight-Line-Graphs-Final -2.pptx
Straight-Line-Graphs-Final -2.pptx
 
CLASS X MATHS
CLASS X MATHS CLASS X MATHS
CLASS X MATHS
 
Distance Between Two Points.pptx
Distance Between Two Points.pptxDistance Between Two Points.pptx
Distance Between Two Points.pptx
 
Slides: On the Chi Square and Higher-Order Chi Distances for Approximating f-...
Slides: On the Chi Square and Higher-Order Chi Distances for Approximating f-...Slides: On the Chi Square and Higher-Order Chi Distances for Approximating f-...
Slides: On the Chi Square and Higher-Order Chi Distances for Approximating f-...
 
Quadratic equation by four different methods
Quadratic equation by four different methodsQuadratic equation by four different methods
Quadratic equation by four different methods
 
Chapter-1-04032021-111422pm (2).pptx
Chapter-1-04032021-111422pm (2).pptxChapter-1-04032021-111422pm (2).pptx
Chapter-1-04032021-111422pm (2).pptx
 
Core 2 revision notes
Core 2 revision notesCore 2 revision notes
Core 2 revision notes
 
ANOVA - Dr. Manu Melwin Joy - School of Management Studies, Cochin University...
ANOVA - Dr. Manu Melwin Joy - School of Management Studies, Cochin University...ANOVA - Dr. Manu Melwin Joy - School of Management Studies, Cochin University...
ANOVA - Dr. Manu Melwin Joy - School of Management Studies, Cochin University...
 
1509 circle- coordinate geometry
1509 circle- coordinate geometry1509 circle- coordinate geometry
1509 circle- coordinate geometry
 
Digital Distance Geometry
Digital Distance GeometryDigital Distance Geometry
Digital Distance Geometry
 
Variability
VariabilityVariability
Variability
 

More from TesfahunAsmare1

More from TesfahunAsmare1 (7)

8-11 (2).pptx
8-11 (2).pptx8-11 (2).pptx
8-11 (2).pptx
 
Ch-4.pptx
Ch-4.pptxCh-4.pptx
Ch-4.pptx
 
chapter 7.ppt
chapter 7.pptchapter 7.ppt
chapter 7.ppt
 
Ch-1.pptx
Ch-1.pptxCh-1.pptx
Ch-1.pptx
 
mk.pptx
mk.pptxmk.pptx
mk.pptx
 
DataPreprocessing.ppt
DataPreprocessing.pptDataPreprocessing.ppt
DataPreprocessing.ppt
 
Incorporate_Measuring_Costs.pptx
Incorporate_Measuring_Costs.pptxIncorporate_Measuring_Costs.pptx
Incorporate_Measuring_Costs.pptx
 

Recently uploaded

Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Jack DiGiovanna
 
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiLow Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiSuhani Kapoor
 
Customer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxCustomer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxEmmanuel Dauda
 
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptdokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptSonatrach
 
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
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxJohnnyPlasten
 
Aminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
Aminabad Call Girl Agent 9548273370 , Call Girls Service LucknowAminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
Aminabad Call Girl Agent 9548273370 , Call Girls Service Lucknowmakika9823
 
Digi Khata Problem along complete plan.pptx
Digi Khata Problem along complete plan.pptxDigi Khata Problem along complete plan.pptx
Digi Khata Problem along complete plan.pptxTanveerAhmed817946
 
Call Girls In Mahipalpur O9654467111 Escorts Service
Call Girls In Mahipalpur O9654467111  Escorts ServiceCall Girls In Mahipalpur O9654467111  Escorts Service
Call Girls In Mahipalpur O9654467111 Escorts ServiceSapana Sha
 
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPramod Kumar Srivastava
 
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /WhatsappsBeautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsappssapnasaifi408
 
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxStephen266013
 
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
 
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...Pooja Nehwal
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...Suhani Kapoor
 
Predicting Employee Churn: A Data-Driven Approach Project Presentation
Predicting Employee Churn: A Data-Driven Approach Project PresentationPredicting Employee Churn: A Data-Driven Approach Project Presentation
Predicting Employee Churn: A Data-Driven Approach Project PresentationBoston Institute of Analytics
 

Recently uploaded (20)

Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
 
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiLow Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
 
Customer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxCustomer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptx
 
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptdokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
 
꧁❤ 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 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
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptx
 
Aminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
Aminabad Call Girl Agent 9548273370 , Call Girls Service LucknowAminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
Aminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
 
Digi Khata Problem along complete plan.pptx
Digi Khata Problem along complete plan.pptxDigi Khata Problem along complete plan.pptx
Digi Khata Problem along complete plan.pptx
 
Call Girls In Mahipalpur O9654467111 Escorts Service
Call Girls In Mahipalpur O9654467111  Escorts ServiceCall Girls In Mahipalpur O9654467111  Escorts Service
Call Girls In Mahipalpur O9654467111 Escorts Service
 
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
 
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /WhatsappsBeautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
 
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docx
 
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
 
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
E-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptxE-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptx
 
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
 
Predicting Employee Churn: A Data-Driven Approach Project Presentation
Predicting Employee Churn: A Data-Driven Approach Project PresentationPredicting Employee Churn: A Data-Driven Approach Project Presentation
Predicting Employee Churn: A Data-Driven Approach Project Presentation
 

Machine_Learning_KNN_Presentation.pptx

  • 2. • Labeled Data • Unlabeled Data X1 X2 Class 10 100 Square 2 4 Root X1 X2 10 100 2 4
  • 3.
  • 4.
  • 6. • Manhattan Distance |X1-X2| + |Y1-Y2| • Euclidean Distance • 𝑥1 − 𝑥2 2 + √ 𝑦1 − 𝑦2 2
  • 7. • Dist (x,y) >= 0 • Dist (x,y) = Dist (y,x) are Symmetric • Detours can not Shorten Distance Dist(x,z) <= Dist(x,y) + Dist (y,z) X y z X y z
  • 8.
  • 9. • Distance Measure – What does it mean “Similar"? • Minkowski Distance – Norm: – Chebyshew Distance – Mahalanobis distance: d(x , y) = |x – y|TSxy 1|x – y| m N i m i i m y x y x y x d / 1 1 ) ( || || ) , (            
  • 10.
  • 11.
  • 12.
  • 13. A term between two terms of a geometric sequence is the geometric mean of the two terms. Example: In the geometric sequence 4, 20, 100, ....(with a factor of 5), 20 is the geometric mean of 4 and 100.
  • 14. • Given: a set P of n points in Rd • Goal: a data structure, which given a query point q, finds the nearest neighbor p of q in P q p
  • 15. • (K-l)-NN: Reduce complexity by having a threshold on the majority. We could restrict the associations through (K-l)-NN.
  • 16. • (K-l)-NN: Reduce complexity by having a threshold on the majority. We could restrict the associations through (K-l)-NN. K=5
  • 17. • Select 5 Nearest Neighbors as Value of K=5 by Taking their Euclidean Disances
  • 18. • Decide if majority of Instances over a given value of K Here, K=5.
  • 19. Points X1 (Acid Durability ) X2(strength) Y=Classification P1 7 7 BAD P2 7 4 BAD P3 3 4 GOOD P4 1 4 GOOD
  • 20. Points X1(Acid Durability) X2(Strength) Y(Classification) P1 7 7 BAD P2 7 4 BAD P3 3 4 GOOD P4 1 4 GOOD P5 3 7 ?
  • 21.
  • 22. KNN Euclidean Distance of P5(3,7) from P1 P2 P3 P4 (7,7) (7,4) (3,4) (1,4) Sqrt((7-3) 2 + (7-7)2 ) = 16 = 4 Sqrt((7-3) 2 + (4-7)2 ) = 25 = 5 Sqrt((3-3) 2 + (4- 7)2 ) = 9 = 3 Sqrt((1-3) 2 + (4-7)2 ) = 13 = 3.60
  • 23. Euclidean Distance of P5(3,7) from P1 P2 P3 P4 (7,7) (7,4) (3,4) (1,4) Sqrt((7-3) 2 + (7-7)2 ) = 16 = 4 Sqrt((7-3) 2 + (4-7)2 ) = 25 = 5 Sqrt((3-3) 2 + (4- 7)2 ) = 9 = 3 Sqrt((1-3) 2 + (4-7)2 ) = 13 = 3.60 Class BAD BAD GOOD GOOD
  • 24. Points X1(Durability) X2(Strength) Y(Classification) P1 7 7 BAD P2 7 4 BAD P3 3 4 GOOD P4 1 4 GOOD P5 3 7 GOOD
  • 25.
  • 26.
  • 27. • Machine Learning : The Art and Science of Algorithms that Make Sense of Data By Peter Flach • A presentation on KNN Algorithm : West Virginia University , Published on May 22, 2015