Decision tree
Decision tree
UNIT 2
Vision
Impart high quality knowledge and skills to students in the field of Information Technology ,motivate research, encourage industry consultancy projects and
nurture human values and life skills.
Machine
learning
algorithms (2)
Analysing, Visualizing and Applying Data Science Ms. Seeya Gude
Semester VIII Asst. Professor
B.E.(I.T.) Information Technology Department
Academic Year 2024-25 Goa College of Engineering
MINOR DEGREE DATA SCEINCE SEM 8
06/07/2025 1
(By Ms. Seeya Gude)
Decision trees
A decision tree is a graphical representation of different options for
solving a problem and show how different factors are related. It has a
hierarchical tree structure starts with one main question at the top
called a node which further branches out into different possible
outcomes where:
• Root Node is the starting point that represents the entire dataset.
• Branches: These are the lines that connect nodes. It shows the flow from one
decision to another.
• Internal Nodes are Points where decisions are made based on the input
features.
• Leaf Nodes: These are the terminal nodes at the end of branches that
represent final outcomes or predictions
Rainy
with temperature
Rainy
with wind
Rainy
with humidity
06/07/2025 MINOR DEGREE DATA SCEINCE SEM 8 (By Ms. Seey 40
a Gude)
06/07/2025 MINOR DEGREE DATA SCEINCE SEM 8 (By Ms. Seey 41
a Gude)
06/07/2025 MINOR DEGREE DATA SCEINCE SEM 8 (By Ms. Seey 42
a Gude)
ID3 using scikit learn - Python
Libraries needed: