SlideShare a Scribd company logo
1 of 12
Download to read offline
Decision Tree
Dr. Varun Kumar
Dr. Varun Kumar Machine Learning-6 1 / 12
Outlines
1 What is classification ?
2 Types of classification
3 Introduction to Decision Tree
4 Terminology associated with decision tree
5 Visualizing a decision tree
6 References
Dr. Varun Kumar Machine Learning-6 2 / 12
What is classification ?
What is classification ?
Classification is process for dividing a datasets into a different categories
or groups by adding label. Ex-
1 Checking a legitimate mail and spam mail by G-mail/Hot-mail etc.
2 Credit card notification (same card is used for very long distance) →
Fishy transaction.
3 Classification of fruits: Taste, size, color, etc
Types of classification
1 Decision tree
2 Random forest
3 Naive Baye’s
4 K-Nearest neighbor (KNN)
Dr. Varun Kumar Machine Learning-6 3 / 12
Introduction to decision tree
Decision tree
⇒ Graphical representation of all the possible solution to a decisions.
⇒ Decisions are based on some conditions.
⇒ Decision made can be easily explained.
Note: Decision tree can also be used for the solving of regression problem.
Dr. Varun Kumar Machine Learning-6 4 / 12
SBI card customer care IVR flow
Dr. Varun Kumar Machine Learning-6 5 / 12
Eye disease detection
Dr. Varun Kumar Machine Learning-6 6 / 12
Playing Tennis
Dr. Varun Kumar Machine Learning-6 7 / 12
Banking system
Dr. Varun Kumar Machine Learning-6 8 / 12
Terminology associated with decision tree
Dr. Varun Kumar Machine Learning-6 9 / 12
Continued–
Branch node: The node, where other branches or nodes are connected.
Node 1, 2
Leaf node: The node, where other branches or nodes are not connected.
Node 3, 4, 5
Node 1 is called as root node.
Dr. Varun Kumar Machine Learning-6 10 / 12
Classification and regression trees (CART) algorithm
How does a tree decide, where to split:
GINI index
Information gain
Reduction in variance
Chi-square
Dr. Varun Kumar Machine Learning-6 11 / 12
References
E. Alpaydin, Introduction to machine learning. MIT press, 2020.
J. Grus, Data science from scratch: first principles with python. O’Reilly Media,
2019.
T. M. Mitchell, The discipline of machine learning. Carnegie Mellon University,
School of Computer Science, Machine Learning , 2006, vol. 9.
S. Haykin, Neural Networks and Learning Machines, 3/E. Pearson Education
India, 2010.
Dr. Varun Kumar Machine Learning-6 12 / 12

More Related Content

Similar to Decision tree (Machine Learning)

Data Mining in Market Research
Data Mining in Market ResearchData Mining in Market Research
Data Mining in Market Research
butest
 
Data Mining In Market Research
Data Mining In Market ResearchData Mining In Market Research
Data Mining In Market Research
kevinlan
 
SMI SHAS4542 n4_Decision Making _ Organizing 0922.pdf
SMI SHAS4542 n4_Decision Making  _ Organizing 0922.pdfSMI SHAS4542 n4_Decision Making  _ Organizing 0922.pdf
SMI SHAS4542 n4_Decision Making _ Organizing 0922.pdf
ssuser6d321e
 
Here are 4 discussion posts made by students needing responses. Mu.docx
Here are 4 discussion posts made by students needing responses. Mu.docxHere are 4 discussion posts made by students needing responses. Mu.docx
Here are 4 discussion posts made by students needing responses. Mu.docx
pooleavelina
 
Title of Your Research Proposal Student Name Walde
Title of Your Research Proposal Student Name WaldeTitle of Your Research Proposal Student Name Walde
Title of Your Research Proposal Student Name Walde
TakishaPeck109
 

Similar to Decision tree (Machine Learning) (17)

3 classification
3  classification3  classification
3 classification
 
Operational Research
Operational ResearchOperational Research
Operational Research
 
M3R.FINAL
M3R.FINALM3R.FINAL
M3R.FINAL
 
18 cse366t human computer interaction - hci - unit i
18 cse366t  human computer interaction - hci - unit i18 cse366t  human computer interaction - hci - unit i
18 cse366t human computer interaction - hci - unit i
 
Data Mining In Market Research
Data Mining In Market ResearchData Mining In Market Research
Data Mining In Market Research
 
Data Mining in Market Research
Data Mining in Market ResearchData Mining in Market Research
Data Mining in Market Research
 
Data Mining In Market Research
Data Mining In Market ResearchData Mining In Market Research
Data Mining In Market Research
 
icaisd presentation 2021.pptx
icaisd presentation 2021.pptxicaisd presentation 2021.pptx
icaisd presentation 2021.pptx
 
SMI SHAS4542 n4_Decision Making _ Organizing 0922.pdf
SMI SHAS4542 n4_Decision Making  _ Organizing 0922.pdfSMI SHAS4542 n4_Decision Making  _ Organizing 0922.pdf
SMI SHAS4542 n4_Decision Making _ Organizing 0922.pdf
 
Decision Making PowerPoint PPT Content Modern Sample
Decision Making PowerPoint PPT Content Modern SampleDecision Making PowerPoint PPT Content Modern Sample
Decision Making PowerPoint PPT Content Modern Sample
 
Here are 4 discussion posts made by students needing responses. Mu.docx
Here are 4 discussion posts made by students needing responses. Mu.docxHere are 4 discussion posts made by students needing responses. Mu.docx
Here are 4 discussion posts made by students needing responses. Mu.docx
 
Decision_making(3).pptx
Decision_making(3).pptxDecision_making(3).pptx
Decision_making(3).pptx
 
U5 a1 stages in the decision making process
U5 a1 stages in the decision making processU5 a1 stages in the decision making process
U5 a1 stages in the decision making process
 
Decision tree in artificial intelligence
Decision tree in artificial intelligenceDecision tree in artificial intelligence
Decision tree in artificial intelligence
 
Decision Making & Problem Solving
Decision Making & Problem SolvingDecision Making & Problem Solving
Decision Making & Problem Solving
 
Title of Your Research Proposal Student Name Walde
Title of Your Research Proposal Student Name WaldeTitle of Your Research Proposal Student Name Walde
Title of Your Research Proposal Student Name Walde
 
Decision Tree Analysis
Decision Tree AnalysisDecision Tree Analysis
Decision Tree Analysis
 

More from VARUN KUMAR

More from VARUN KUMAR (20)

Distributed rc Model
Distributed rc ModelDistributed rc Model
Distributed rc Model
 
Electrical Wire Model
Electrical Wire ModelElectrical Wire Model
Electrical Wire Model
 
Interconnect Parameter in Digital VLSI Design
Interconnect Parameter in Digital VLSI DesignInterconnect Parameter in Digital VLSI Design
Interconnect Parameter in Digital VLSI Design
 
Introduction to Digital VLSI Design
Introduction to Digital VLSI DesignIntroduction to Digital VLSI Design
Introduction to Digital VLSI Design
 
Challenges of Massive MIMO System
Challenges of Massive MIMO SystemChallenges of Massive MIMO System
Challenges of Massive MIMO System
 
E-democracy or Digital Democracy
E-democracy or Digital DemocracyE-democracy or Digital Democracy
E-democracy or Digital Democracy
 
Ethics of Parasitic Computing
Ethics of Parasitic ComputingEthics of Parasitic Computing
Ethics of Parasitic Computing
 
Action Lines of Geneva Plan of Action
Action Lines of Geneva Plan of ActionAction Lines of Geneva Plan of Action
Action Lines of Geneva Plan of Action
 
Geneva Plan of Action
Geneva Plan of ActionGeneva Plan of Action
Geneva Plan of Action
 
Fair Use in the Electronic Age
Fair Use in the Electronic AgeFair Use in the Electronic Age
Fair Use in the Electronic Age
 
Software as a Property
Software as a PropertySoftware as a Property
Software as a Property
 
Orthogonal Polynomial
Orthogonal PolynomialOrthogonal Polynomial
Orthogonal Polynomial
 
Patent Protection
Patent ProtectionPatent Protection
Patent Protection
 
Copyright Vs Patent and Trade Secrecy Law
Copyright Vs Patent and Trade Secrecy LawCopyright Vs Patent and Trade Secrecy Law
Copyright Vs Patent and Trade Secrecy Law
 
Property Right and Software
Property Right and SoftwareProperty Right and Software
Property Right and Software
 
Investigating Data Trials
Investigating Data TrialsInvestigating Data Trials
Investigating Data Trials
 
Gaussian Numerical Integration
Gaussian Numerical IntegrationGaussian Numerical Integration
Gaussian Numerical Integration
 
Censorship and Controversy
Censorship and ControversyCensorship and Controversy
Censorship and Controversy
 
Romberg's Integration
Romberg's IntegrationRomberg's Integration
Romberg's Integration
 
Introduction to Censorship
Introduction to Censorship Introduction to Censorship
Introduction to Censorship
 

Recently uploaded

Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 

Recently uploaded (20)

Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
 
Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086
 
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
 
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
 

Decision tree (Machine Learning)

  • 1. Decision Tree Dr. Varun Kumar Dr. Varun Kumar Machine Learning-6 1 / 12
  • 2. Outlines 1 What is classification ? 2 Types of classification 3 Introduction to Decision Tree 4 Terminology associated with decision tree 5 Visualizing a decision tree 6 References Dr. Varun Kumar Machine Learning-6 2 / 12
  • 3. What is classification ? What is classification ? Classification is process for dividing a datasets into a different categories or groups by adding label. Ex- 1 Checking a legitimate mail and spam mail by G-mail/Hot-mail etc. 2 Credit card notification (same card is used for very long distance) → Fishy transaction. 3 Classification of fruits: Taste, size, color, etc Types of classification 1 Decision tree 2 Random forest 3 Naive Baye’s 4 K-Nearest neighbor (KNN) Dr. Varun Kumar Machine Learning-6 3 / 12
  • 4. Introduction to decision tree Decision tree ⇒ Graphical representation of all the possible solution to a decisions. ⇒ Decisions are based on some conditions. ⇒ Decision made can be easily explained. Note: Decision tree can also be used for the solving of regression problem. Dr. Varun Kumar Machine Learning-6 4 / 12
  • 5. SBI card customer care IVR flow Dr. Varun Kumar Machine Learning-6 5 / 12
  • 6. Eye disease detection Dr. Varun Kumar Machine Learning-6 6 / 12
  • 7. Playing Tennis Dr. Varun Kumar Machine Learning-6 7 / 12
  • 8. Banking system Dr. Varun Kumar Machine Learning-6 8 / 12
  • 9. Terminology associated with decision tree Dr. Varun Kumar Machine Learning-6 9 / 12
  • 10. Continued– Branch node: The node, where other branches or nodes are connected. Node 1, 2 Leaf node: The node, where other branches or nodes are not connected. Node 3, 4, 5 Node 1 is called as root node. Dr. Varun Kumar Machine Learning-6 10 / 12
  • 11. Classification and regression trees (CART) algorithm How does a tree decide, where to split: GINI index Information gain Reduction in variance Chi-square Dr. Varun Kumar Machine Learning-6 11 / 12
  • 12. References E. Alpaydin, Introduction to machine learning. MIT press, 2020. J. Grus, Data science from scratch: first principles with python. O’Reilly Media, 2019. T. M. Mitchell, The discipline of machine learning. Carnegie Mellon University, School of Computer Science, Machine Learning , 2006, vol. 9. S. Haykin, Neural Networks and Learning Machines, 3/E. Pearson Education India, 2010. Dr. Varun Kumar Machine Learning-6 12 / 12