SlideShare a Scribd company logo
Machine Learning
Algorithms
Dilemma of choosing WHICH !?
February 23, 2020
Mala Deep Upadhaya
Machine Learning Algorithm
Slides 2 of 12
Choosing Machine Learning Algorithm
Assumption in the lecture
Slides 3 of 12
Choosing Machine Learning Algorithm
• We have a use case: Supervised Learning
system
• i.e. We are concerning with ML supervised
problem statement
• We have Dataset that may be Classification or
Regression problem set
Data set
Regression Classification
• Now, Which Algorithm to choose for the
Dataset?
Algorithm for Classification Problems
Slides 4 of 12
Classification
Logistic
Regression
KNN SVM
Extreme
Gradient
Boosting
Decision Tree
Random
Forest
Ensemble Learning Method : Model that
makes predictions based on a number of
different models
• Now, Which one of the above
algorithm to choose for the
Classification problem?
Choosing Machine Learning Algorithm
Algorithm Selection
Slides 5 of 12
Mostly - Blindly used
• Decision Tree
• Random Forest
• Logistic Regression
OR
Apply every Algorithm parallelly and check the accuracy to see which one is the best.
Task is
Time & Resource Consuming
Choosing Machine Learning Algorithm
Right way to choose Algorithm
Visualization of Data
• Library: Seaborn
• Function: Pairplot
Figure: Pairplot structure
Source: https://seaborn.pydata.org/generated/seaborn.pairplot.html
Slides 6 of 12
Choosing Machine Learning Algorithm
Right way to choose Algorithm
Choose Logistic Regression?
• High overlap of data
• So no straight line can be created
as error rate will be high
• Less accuracy
• Seen as non-linear classification
type problem
• No go with Logistic Regression
Algorithm
Slides 7 of 12
High Overlap of Data
Choosing Machine Learning Algorithm
Right way to choose Algorithm
Slides 8 of 12
• For Non-Linear classification
Choosing Machine Learning Algorithm
Right way to choose Algorithm
Slides 9 of 12
Choose Decision Tree?
• It is just multiple IF –ELSE
• Time for model train will be high in multiple overlap
Choosing Machine Learning Algorithm
Right way to choose Algorithm
Highly Overlap?
• Choose KNN
WHY?
• It uses the concept of Euclidian distance to find the similarities of the point where it
belongs to i.e. Based on neighborhood
Still not satisfied of using KNN then go with Random Forest or Decision Tree
but they will have deeper tree and increase the cost of operation
Choosing Machine Learning Algorithm
Highly Overlapped of Data
Slides 10 of 12
Summary
Slides 11 of 12Choosing Machine Learning Algorithm
Dilemma of Choosing ML Algorithm?
Know the nature of Dataset
IF it is supervised problem statement
Visualize the dataset with Pair plot
Dataset is highly overlap?
No use of Logical
Regression
No use Decision Tree as
cost of operation is high
Choose KNN
References
• https://www.youtube.com/watch?v=38SUUaMX5Rg https://slideplayer.com/slide/5219172/
• https://towardsdatascience.com/basic-ensemble-learning-random-forest-adaboost-gradient-boosting-step-by-step-explained-
95d49d1e2725
Slides 12 of 12Choosing Machine Learning Algorithm

More Related Content

What's hot (20)

Machine learning
Machine learningMachine learning
Machine learning
Dr Geetha Mohan
 
KNN
KNNKNN
KNN
BhuvneshYadav13
 
Decision trees in Machine Learning
Decision trees in Machine Learning Decision trees in Machine Learning
Decision trees in Machine Learning
Mohammad Junaid Khan
 
K Nearest Neighbors
K Nearest NeighborsK Nearest Neighbors
K Nearest Neighbors
Tilani Gunawardena PhD(UNIBAS), BSc(Pera), FHEA(UK), CEng, MIESL
 
Supervised Machine Learning
Supervised Machine LearningSupervised Machine Learning
Supervised Machine Learning
Livares Technologies Pvt Ltd
 
Machine Learning and its Applications
Machine Learning and its ApplicationsMachine Learning and its Applications
Machine Learning and its Applications
Dr Ganesh Iyer
 
Reinforcement learning 7313
Reinforcement learning 7313Reinforcement learning 7313
Reinforcement learning 7313
Slideshare
 
K Nearest Neighbor Algorithm
K Nearest Neighbor AlgorithmK Nearest Neighbor Algorithm
K Nearest Neighbor Algorithm
Tharuka Vishwajith Sarathchandra
 
K - Nearest neighbor ( KNN )
K - Nearest neighbor  ( KNN )K - Nearest neighbor  ( KNN )
K - Nearest neighbor ( KNN )
Mohammad Junaid Khan
 
Decision trees for machine learning
Decision trees for machine learningDecision trees for machine learning
Decision trees for machine learning
Amr BARAKAT
 
Introduction to Statistical Machine Learning
Introduction to Statistical Machine LearningIntroduction to Statistical Machine Learning
Introduction to Statistical Machine Learning
mahutte
 
Lecture 1: What is Machine Learning?
Lecture 1: What is Machine Learning?Lecture 1: What is Machine Learning?
Lecture 1: What is Machine Learning?
Marina Santini
 
Decision tree and random forest
Decision tree and random forestDecision tree and random forest
Decision tree and random forest
Lippo Group Digital
 
Machine Learning
Machine LearningMachine Learning
Machine Learning
Rahul Kumar
 
Data Analysis: Evaluation Metrics for Supervised Learning Models of Machine L...
Data Analysis: Evaluation Metrics for Supervised Learning Models of Machine L...Data Analysis: Evaluation Metrics for Supervised Learning Models of Machine L...
Data Analysis: Evaluation Metrics for Supervised Learning Models of Machine L...
Md. Main Uddin Rony
 
Machine learning clustering
Machine learning clusteringMachine learning clustering
Machine learning clustering
CosmoAIMS Bassett
 
KNN Algorithm - How KNN Algorithm Works With Example | Data Science For Begin...
KNN Algorithm - How KNN Algorithm Works With Example | Data Science For Begin...KNN Algorithm - How KNN Algorithm Works With Example | Data Science For Begin...
KNN Algorithm - How KNN Algorithm Works With Example | Data Science For Begin...
Simplilearn
 
Machine Learning presentation.
Machine Learning presentation.Machine Learning presentation.
Machine Learning presentation.
butest
 
Decision tree
Decision treeDecision tree
Decision tree
Ami_Surati
 
1 seaborn introduction
1 seaborn introduction 1 seaborn introduction
1 seaborn introduction
YuleiLi3
 
Decision trees in Machine Learning
Decision trees in Machine Learning Decision trees in Machine Learning
Decision trees in Machine Learning
Mohammad Junaid Khan
 
Machine Learning and its Applications
Machine Learning and its ApplicationsMachine Learning and its Applications
Machine Learning and its Applications
Dr Ganesh Iyer
 
Reinforcement learning 7313
Reinforcement learning 7313Reinforcement learning 7313
Reinforcement learning 7313
Slideshare
 
Decision trees for machine learning
Decision trees for machine learningDecision trees for machine learning
Decision trees for machine learning
Amr BARAKAT
 
Introduction to Statistical Machine Learning
Introduction to Statistical Machine LearningIntroduction to Statistical Machine Learning
Introduction to Statistical Machine Learning
mahutte
 
Lecture 1: What is Machine Learning?
Lecture 1: What is Machine Learning?Lecture 1: What is Machine Learning?
Lecture 1: What is Machine Learning?
Marina Santini
 
Machine Learning
Machine LearningMachine Learning
Machine Learning
Rahul Kumar
 
Data Analysis: Evaluation Metrics for Supervised Learning Models of Machine L...
Data Analysis: Evaluation Metrics for Supervised Learning Models of Machine L...Data Analysis: Evaluation Metrics for Supervised Learning Models of Machine L...
Data Analysis: Evaluation Metrics for Supervised Learning Models of Machine L...
Md. Main Uddin Rony
 
KNN Algorithm - How KNN Algorithm Works With Example | Data Science For Begin...
KNN Algorithm - How KNN Algorithm Works With Example | Data Science For Begin...KNN Algorithm - How KNN Algorithm Works With Example | Data Science For Begin...
KNN Algorithm - How KNN Algorithm Works With Example | Data Science For Begin...
Simplilearn
 
Machine Learning presentation.
Machine Learning presentation.Machine Learning presentation.
Machine Learning presentation.
butest
 
1 seaborn introduction
1 seaborn introduction 1 seaborn introduction
1 seaborn introduction
YuleiLi3
 

Similar to How to choose Machine Learning algorithm. (20)

random forest.pptx
random forest.pptxrandom forest.pptx
random forest.pptx
PriyadharshiniG41
 
Machine Learning and its Appplications--
Machine Learning and its Appplications--Machine Learning and its Appplications--
Machine Learning and its Appplications--
sudarmani rajagopal
 
Random Forest Decision Tree.pptx
Random Forest Decision Tree.pptxRandom Forest Decision Tree.pptx
Random Forest Decision Tree.pptx
Ramakrishna Reddy Bijjam
 
Machine Learning Unit-5 Decesion Trees & Random Forest.pdf
Machine Learning Unit-5 Decesion Trees & Random Forest.pdfMachine Learning Unit-5 Decesion Trees & Random Forest.pdf
Machine Learning Unit-5 Decesion Trees & Random Forest.pdf
AdityaSoraut
 
Support Vector machine(SVM) and Random Forest
Support Vector machine(SVM) and Random ForestSupport Vector machine(SVM) and Random Forest
Support Vector machine(SVM) and Random Forest
umarcybermind
 
Supervised machine learning algorithms(strengths and weaknesses)
Supervised machine learning algorithms(strengths and weaknesses)Supervised machine learning algorithms(strengths and weaknesses)
Supervised machine learning algorithms(strengths and weaknesses)
MonarchSaha
 
Macine learning algorithms - K means, KNN
Macine learning algorithms - K means, KNNMacine learning algorithms - K means, KNN
Macine learning algorithms - K means, KNN
aiswaryasathwik
 
Data mining
Data miningData mining
Data mining
Behnaz Motavali
 
Primer on major data mining algorithms
Primer on major data mining algorithmsPrimer on major data mining algorithms
Primer on major data mining algorithms
Vikram Sankhala IIT, IIM, Ex IRS, FRM, Fin.Engr
 
Machine Learning Interview Questions and Answers
Machine Learning Interview Questions and AnswersMachine Learning Interview Questions and Answers
Machine Learning Interview Questions and Answers
Satyam Jaiswal
 
Introduction to Machine Learning Key Concepts for Beginners.pptx
Introduction to Machine Learning Key Concepts for Beginners.pptxIntroduction to Machine Learning Key Concepts for Beginners.pptx
Introduction to Machine Learning Key Concepts for Beginners.pptx
Assignment World
 
Training Deep Networks with Backprop (D1L4 Insight@DCU Machine Learning Works...
Training Deep Networks with Backprop (D1L4 Insight@DCU Machine Learning Works...Training Deep Networks with Backprop (D1L4 Insight@DCU Machine Learning Works...
Training Deep Networks with Backprop (D1L4 Insight@DCU Machine Learning Works...
Universitat Politècnica de Catalunya
 
04 Classification in Data Mining
04 Classification in Data Mining04 Classification in Data Mining
04 Classification in Data Mining
Valerii Klymchuk
 
20211229120253D6323_PERT 06_ Ensemble Learning.pptx
20211229120253D6323_PERT 06_ Ensemble Learning.pptx20211229120253D6323_PERT 06_ Ensemble Learning.pptx
20211229120253D6323_PERT 06_ Ensemble Learning.pptx
RaflyRizky2
 
Machine learning - session 3
Machine learning - session 3Machine learning - session 3
Machine learning - session 3
Luis Borbon
 
Machine learning with scikitlearn
Machine learning with scikitlearnMachine learning with scikitlearn
Machine learning with scikitlearn
Pratap Dangeti
 
Intro to machine learning
Intro to machine learningIntro to machine learning
Intro to machine learning
Akshay Kanchan
 
Data warehouse and Data mining presentation
Data warehouse and Data mining presentationData warehouse and Data mining presentation
Data warehouse and Data mining presentation
ROHITYadav528315
 
Decision Tree in Machine Learning
Decision Tree in Machine LearningDecision Tree in Machine Learning
Decision Tree in Machine Learning
Tutort Academy
 
UNIT 2 HILLclimbling 19geyebshshsb .pptx
UNIT 2 HILLclimbling 19geyebshshsb .pptxUNIT 2 HILLclimbling 19geyebshshsb .pptx
UNIT 2 HILLclimbling 19geyebshshsb .pptx
xilep87615
 
Machine Learning and its Appplications--
Machine Learning and its Appplications--Machine Learning and its Appplications--
Machine Learning and its Appplications--
sudarmani rajagopal
 
Machine Learning Unit-5 Decesion Trees & Random Forest.pdf
Machine Learning Unit-5 Decesion Trees & Random Forest.pdfMachine Learning Unit-5 Decesion Trees & Random Forest.pdf
Machine Learning Unit-5 Decesion Trees & Random Forest.pdf
AdityaSoraut
 
Support Vector machine(SVM) and Random Forest
Support Vector machine(SVM) and Random ForestSupport Vector machine(SVM) and Random Forest
Support Vector machine(SVM) and Random Forest
umarcybermind
 
Supervised machine learning algorithms(strengths and weaknesses)
Supervised machine learning algorithms(strengths and weaknesses)Supervised machine learning algorithms(strengths and weaknesses)
Supervised machine learning algorithms(strengths and weaknesses)
MonarchSaha
 
Macine learning algorithms - K means, KNN
Macine learning algorithms - K means, KNNMacine learning algorithms - K means, KNN
Macine learning algorithms - K means, KNN
aiswaryasathwik
 
Machine Learning Interview Questions and Answers
Machine Learning Interview Questions and AnswersMachine Learning Interview Questions and Answers
Machine Learning Interview Questions and Answers
Satyam Jaiswal
 
Introduction to Machine Learning Key Concepts for Beginners.pptx
Introduction to Machine Learning Key Concepts for Beginners.pptxIntroduction to Machine Learning Key Concepts for Beginners.pptx
Introduction to Machine Learning Key Concepts for Beginners.pptx
Assignment World
 
Training Deep Networks with Backprop (D1L4 Insight@DCU Machine Learning Works...
Training Deep Networks with Backprop (D1L4 Insight@DCU Machine Learning Works...Training Deep Networks with Backprop (D1L4 Insight@DCU Machine Learning Works...
Training Deep Networks with Backprop (D1L4 Insight@DCU Machine Learning Works...
Universitat Politècnica de Catalunya
 
04 Classification in Data Mining
04 Classification in Data Mining04 Classification in Data Mining
04 Classification in Data Mining
Valerii Klymchuk
 
20211229120253D6323_PERT 06_ Ensemble Learning.pptx
20211229120253D6323_PERT 06_ Ensemble Learning.pptx20211229120253D6323_PERT 06_ Ensemble Learning.pptx
20211229120253D6323_PERT 06_ Ensemble Learning.pptx
RaflyRizky2
 
Machine learning - session 3
Machine learning - session 3Machine learning - session 3
Machine learning - session 3
Luis Borbon
 
Machine learning with scikitlearn
Machine learning with scikitlearnMachine learning with scikitlearn
Machine learning with scikitlearn
Pratap Dangeti
 
Intro to machine learning
Intro to machine learningIntro to machine learning
Intro to machine learning
Akshay Kanchan
 
Data warehouse and Data mining presentation
Data warehouse and Data mining presentationData warehouse and Data mining presentation
Data warehouse and Data mining presentation
ROHITYadav528315
 
Decision Tree in Machine Learning
Decision Tree in Machine LearningDecision Tree in Machine Learning
Decision Tree in Machine Learning
Tutort Academy
 
UNIT 2 HILLclimbling 19geyebshshsb .pptx
UNIT 2 HILLclimbling 19geyebshshsb .pptxUNIT 2 HILLclimbling 19geyebshshsb .pptx
UNIT 2 HILLclimbling 19geyebshshsb .pptx
xilep87615
 
Ad

Recently uploaded (20)

Tableau Finland User Group June 2025.pdf
Tableau Finland User Group June 2025.pdfTableau Finland User Group June 2025.pdf
Tableau Finland User Group June 2025.pdf
elinavihriala
 
HPC High Performance Course Presentation.pptx
HPC High Performance Course Presentation.pptxHPC High Performance Course Presentation.pptx
HPC High Performance Course Presentation.pptx
naziaahmadnm
 
How Data Annotation Services Drive Innovation in Autonomous Vehicles.docx
How Data Annotation Services Drive Innovation in Autonomous Vehicles.docxHow Data Annotation Services Drive Innovation in Autonomous Vehicles.docx
How Data Annotation Services Drive Innovation in Autonomous Vehicles.docx
sofiawilliams5966
 
time_series_forecasting_constructor_uni.pptx
time_series_forecasting_constructor_uni.pptxtime_series_forecasting_constructor_uni.pptx
time_series_forecasting_constructor_uni.pptx
stefanopinto1113
 
Tableau Cloud - what to consider before making the move update 2025.pdf
Tableau Cloud - what to consider before making the move update 2025.pdfTableau Cloud - what to consider before making the move update 2025.pdf
Tableau Cloud - what to consider before making the move update 2025.pdf
elinavihriala
 
Arrays in c programing. practicals and .ppt
Arrays in c programing. practicals and .pptArrays in c programing. practicals and .ppt
Arrays in c programing. practicals and .ppt
Carlos701746
 
Chapter4.1.pptx you can come to the house and statistics
Chapter4.1.pptx you can come to the house and statisticsChapter4.1.pptx you can come to the house and statistics
Chapter4.1.pptx you can come to the house and statistics
SotheaPheng
 
Mastering Data Science: Unlocking Insights and Opportunities at Yale IT Skill...
Mastering Data Science: Unlocking Insights and Opportunities at Yale IT Skill...Mastering Data Science: Unlocking Insights and Opportunities at Yale IT Skill...
Mastering Data Science: Unlocking Insights and Opportunities at Yale IT Skill...
smrithimuralidas
 
Blue Dark Professional Geometric Business Project Presentation .pdf
Blue Dark Professional Geometric Business Project Presentation .pdfBlue Dark Professional Geometric Business Project Presentation .pdf
Blue Dark Professional Geometric Business Project Presentation .pdf
mohammadhaidarayoobi
 
Data Analytics and visualization-PowerBi
Data Analytics and visualization-PowerBiData Analytics and visualization-PowerBi
Data Analytics and visualization-PowerBi
Krishnapriya975316
 
Math arihant handbook.pdf all formula is here
Math arihant handbook.pdf all formula is hereMath arihant handbook.pdf all formula is here
Math arihant handbook.pdf all formula is here
rdarshankumar84
 
Artificial-Intelligence-in-Autonomous-Vehicles (1).pptx
Artificial-Intelligence-in-Autonomous-Vehicles (1).pptxArtificial-Intelligence-in-Autonomous-Vehicles (1).pptx
Artificial-Intelligence-in-Autonomous-Vehicles (1).pptx
AbhijitPal87
 
Alcoholic liver disease slides presentation new.pptx
Alcoholic liver disease slides presentation new.pptxAlcoholic liver disease slides presentation new.pptx
Alcoholic liver disease slides presentation new.pptx
DrShashank7
 
语法专题3-状语从句.pdf 英语语法基础部分,涉及到状语从句部分的内容来米爱上
语法专题3-状语从句.pdf 英语语法基础部分,涉及到状语从句部分的内容来米爱上语法专题3-状语从句.pdf 英语语法基础部分,涉及到状语从句部分的内容来米爱上
语法专题3-状语从句.pdf 英语语法基础部分,涉及到状语从句部分的内容来米爱上
JunZhao68
 
BADS-MBA-Unit 1 that what data science and Interpretation
BADS-MBA-Unit 1 that what data science and InterpretationBADS-MBA-Unit 1 that what data science and Interpretation
BADS-MBA-Unit 1 that what data science and Interpretation
srishtisingh1813
 
delta airlines new york office (Airwayscityoffice)
delta airlines new york office (Airwayscityoffice)delta airlines new york office (Airwayscityoffice)
delta airlines new york office (Airwayscityoffice)
jamespromind
 
Human body make Structure analysis the part of the human
Human body make Structure analysis the part of the humanHuman body make Structure analysis the part of the human
Human body make Structure analysis the part of the human
ankit392215
 
GROUP 7 CASE STUDY Real Life Incident.pptx
GROUP 7 CASE STUDY Real Life Incident.pptxGROUP 7 CASE STUDY Real Life Incident.pptx
GROUP 7 CASE STUDY Real Life Incident.pptx
mardoglenn21
 
9.-Composite-Dr.-B.-Nalini.pptxfdrtyuioklj
9.-Composite-Dr.-B.-Nalini.pptxfdrtyuioklj9.-Composite-Dr.-B.-Nalini.pptxfdrtyuioklj
9.-Composite-Dr.-B.-Nalini.pptxfdrtyuioklj
aishwaryavdcw
 
Content Moderation Services_ Leading the Future of Online Safety.docx
Content Moderation Services_ Leading the Future of Online Safety.docxContent Moderation Services_ Leading the Future of Online Safety.docx
Content Moderation Services_ Leading the Future of Online Safety.docx
sofiawilliams5966
 
Tableau Finland User Group June 2025.pdf
Tableau Finland User Group June 2025.pdfTableau Finland User Group June 2025.pdf
Tableau Finland User Group June 2025.pdf
elinavihriala
 
HPC High Performance Course Presentation.pptx
HPC High Performance Course Presentation.pptxHPC High Performance Course Presentation.pptx
HPC High Performance Course Presentation.pptx
naziaahmadnm
 
How Data Annotation Services Drive Innovation in Autonomous Vehicles.docx
How Data Annotation Services Drive Innovation in Autonomous Vehicles.docxHow Data Annotation Services Drive Innovation in Autonomous Vehicles.docx
How Data Annotation Services Drive Innovation in Autonomous Vehicles.docx
sofiawilliams5966
 
time_series_forecasting_constructor_uni.pptx
time_series_forecasting_constructor_uni.pptxtime_series_forecasting_constructor_uni.pptx
time_series_forecasting_constructor_uni.pptx
stefanopinto1113
 
Tableau Cloud - what to consider before making the move update 2025.pdf
Tableau Cloud - what to consider before making the move update 2025.pdfTableau Cloud - what to consider before making the move update 2025.pdf
Tableau Cloud - what to consider before making the move update 2025.pdf
elinavihriala
 
Arrays in c programing. practicals and .ppt
Arrays in c programing. practicals and .pptArrays in c programing. practicals and .ppt
Arrays in c programing. practicals and .ppt
Carlos701746
 
Chapter4.1.pptx you can come to the house and statistics
Chapter4.1.pptx you can come to the house and statisticsChapter4.1.pptx you can come to the house and statistics
Chapter4.1.pptx you can come to the house and statistics
SotheaPheng
 
Mastering Data Science: Unlocking Insights and Opportunities at Yale IT Skill...
Mastering Data Science: Unlocking Insights and Opportunities at Yale IT Skill...Mastering Data Science: Unlocking Insights and Opportunities at Yale IT Skill...
Mastering Data Science: Unlocking Insights and Opportunities at Yale IT Skill...
smrithimuralidas
 
Blue Dark Professional Geometric Business Project Presentation .pdf
Blue Dark Professional Geometric Business Project Presentation .pdfBlue Dark Professional Geometric Business Project Presentation .pdf
Blue Dark Professional Geometric Business Project Presentation .pdf
mohammadhaidarayoobi
 
Data Analytics and visualization-PowerBi
Data Analytics and visualization-PowerBiData Analytics and visualization-PowerBi
Data Analytics and visualization-PowerBi
Krishnapriya975316
 
Math arihant handbook.pdf all formula is here
Math arihant handbook.pdf all formula is hereMath arihant handbook.pdf all formula is here
Math arihant handbook.pdf all formula is here
rdarshankumar84
 
Artificial-Intelligence-in-Autonomous-Vehicles (1).pptx
Artificial-Intelligence-in-Autonomous-Vehicles (1).pptxArtificial-Intelligence-in-Autonomous-Vehicles (1).pptx
Artificial-Intelligence-in-Autonomous-Vehicles (1).pptx
AbhijitPal87
 
Alcoholic liver disease slides presentation new.pptx
Alcoholic liver disease slides presentation new.pptxAlcoholic liver disease slides presentation new.pptx
Alcoholic liver disease slides presentation new.pptx
DrShashank7
 
语法专题3-状语从句.pdf 英语语法基础部分,涉及到状语从句部分的内容来米爱上
语法专题3-状语从句.pdf 英语语法基础部分,涉及到状语从句部分的内容来米爱上语法专题3-状语从句.pdf 英语语法基础部分,涉及到状语从句部分的内容来米爱上
语法专题3-状语从句.pdf 英语语法基础部分,涉及到状语从句部分的内容来米爱上
JunZhao68
 
BADS-MBA-Unit 1 that what data science and Interpretation
BADS-MBA-Unit 1 that what data science and InterpretationBADS-MBA-Unit 1 that what data science and Interpretation
BADS-MBA-Unit 1 that what data science and Interpretation
srishtisingh1813
 
delta airlines new york office (Airwayscityoffice)
delta airlines new york office (Airwayscityoffice)delta airlines new york office (Airwayscityoffice)
delta airlines new york office (Airwayscityoffice)
jamespromind
 
Human body make Structure analysis the part of the human
Human body make Structure analysis the part of the humanHuman body make Structure analysis the part of the human
Human body make Structure analysis the part of the human
ankit392215
 
GROUP 7 CASE STUDY Real Life Incident.pptx
GROUP 7 CASE STUDY Real Life Incident.pptxGROUP 7 CASE STUDY Real Life Incident.pptx
GROUP 7 CASE STUDY Real Life Incident.pptx
mardoglenn21
 
9.-Composite-Dr.-B.-Nalini.pptxfdrtyuioklj
9.-Composite-Dr.-B.-Nalini.pptxfdrtyuioklj9.-Composite-Dr.-B.-Nalini.pptxfdrtyuioklj
9.-Composite-Dr.-B.-Nalini.pptxfdrtyuioklj
aishwaryavdcw
 
Content Moderation Services_ Leading the Future of Online Safety.docx
Content Moderation Services_ Leading the Future of Online Safety.docxContent Moderation Services_ Leading the Future of Online Safety.docx
Content Moderation Services_ Leading the Future of Online Safety.docx
sofiawilliams5966
 
Ad

How to choose Machine Learning algorithm.

  • 1. Machine Learning Algorithms Dilemma of choosing WHICH !? February 23, 2020 Mala Deep Upadhaya
  • 2. Machine Learning Algorithm Slides 2 of 12 Choosing Machine Learning Algorithm
  • 3. Assumption in the lecture Slides 3 of 12 Choosing Machine Learning Algorithm • We have a use case: Supervised Learning system • i.e. We are concerning with ML supervised problem statement • We have Dataset that may be Classification or Regression problem set Data set Regression Classification • Now, Which Algorithm to choose for the Dataset?
  • 4. Algorithm for Classification Problems Slides 4 of 12 Classification Logistic Regression KNN SVM Extreme Gradient Boosting Decision Tree Random Forest Ensemble Learning Method : Model that makes predictions based on a number of different models • Now, Which one of the above algorithm to choose for the Classification problem? Choosing Machine Learning Algorithm
  • 5. Algorithm Selection Slides 5 of 12 Mostly - Blindly used • Decision Tree • Random Forest • Logistic Regression OR Apply every Algorithm parallelly and check the accuracy to see which one is the best. Task is Time & Resource Consuming Choosing Machine Learning Algorithm
  • 6. Right way to choose Algorithm Visualization of Data • Library: Seaborn • Function: Pairplot Figure: Pairplot structure Source: https://seaborn.pydata.org/generated/seaborn.pairplot.html Slides 6 of 12 Choosing Machine Learning Algorithm
  • 7. Right way to choose Algorithm Choose Logistic Regression? • High overlap of data • So no straight line can be created as error rate will be high • Less accuracy • Seen as non-linear classification type problem • No go with Logistic Regression Algorithm Slides 7 of 12 High Overlap of Data Choosing Machine Learning Algorithm
  • 8. Right way to choose Algorithm Slides 8 of 12 • For Non-Linear classification Choosing Machine Learning Algorithm
  • 9. Right way to choose Algorithm Slides 9 of 12 Choose Decision Tree? • It is just multiple IF –ELSE • Time for model train will be high in multiple overlap Choosing Machine Learning Algorithm
  • 10. Right way to choose Algorithm Highly Overlap? • Choose KNN WHY? • It uses the concept of Euclidian distance to find the similarities of the point where it belongs to i.e. Based on neighborhood Still not satisfied of using KNN then go with Random Forest or Decision Tree but they will have deeper tree and increase the cost of operation Choosing Machine Learning Algorithm Highly Overlapped of Data Slides 10 of 12
  • 11. Summary Slides 11 of 12Choosing Machine Learning Algorithm Dilemma of Choosing ML Algorithm? Know the nature of Dataset IF it is supervised problem statement Visualize the dataset with Pair plot Dataset is highly overlap? No use of Logical Regression No use Decision Tree as cost of operation is high Choose KNN
  • 12. References • https://www.youtube.com/watch?v=38SUUaMX5Rg https://slideplayer.com/slide/5219172/ • https://towardsdatascience.com/basic-ensemble-learning-random-forest-adaboost-gradient-boosting-step-by-step-explained- 95d49d1e2725 Slides 12 of 12Choosing Machine Learning Algorithm