0% found this document useful (0 votes)
8 views

Decision Tree

Uploaded by

Pinkee Singh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views

Decision Tree

Uploaded by

Pinkee Singh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 7

Decision tree

• Decision tree is a graph to represent choices and their results in

form of a tree.

• The nodes in the graph represent an event or choice and the edges of

the graph represent the decision rules or conditions.

• It is mostly used in Machine Learning and Data Mining applications

using Python.
• As you might intuit from the name, decision tree learners build a
model in the form of a tree structure.

• The model itself comprises a series of logical decisions, similar to a


flowchart, with decision nodes that indicate a decision to be made on
an attribute.

• These split into branches that indicate the decision's choices.

• The tree is terminated by leaf nodes (also known as terminal nodes)


that denote the result of following a combination of decisions
• Generally, a model is created with observed data also called
training data.

• Then a set of validation data is used to verify and improve the


model.

• For new set of predictor variable, we use this model to arrive at a


decision on the category of the data.
To illustrate the tree building process, let's consider a simple example.

Imagine that you are working for a film studio, and your desk is piled
with screenplays.
Rather than read each one cover-to-cover, you decide to develop a
decision tree algorithm to predict whether a potential movie would fall
into one of three categories: mainstream hit, critic's choice, or box office
bust.
To gather data for your model, you turn to the studio archives to examine
the previous ten years of movie releases.
After reviewing the data for 30 different movie scripts, a pattern emerges.
There seems to be a relationship between the film's proposed shooting
budget, the number of A-list celebrities lined up for starring roles, and
the categories of success.

You might also like