Draft Xai
Draft Xai
Draft Xai
RANDOM
FOREST
DECISION EXTREME
GRADIENT
TREE
BOOST
DECISION
TREE
DECISION TREE
• Decision Tree is a Supervised learning technique i.e., preferred for solving
Classification problems as our main motto is to classify whether the person is having
cardiovascular disease or not.
• Decision Tree is a tree-structured classification algorithm, where internal nodes
represent the columns or features of a dataset, branches represent the decisions that
has to be made and each leaf node represents the output.
• And the features are selected based on Attribute Selection Measure (ASM) such as
Entropy and Gini index. They are calculated using the below formulas,
Entropy = -∑ pi n i=1 * log(pi) ---equation (1)
Gini index = 1 - ∑ pi n 2 i=1 ---equation (2)
Where ‘i’ is the number of classes and
pi is the probabilities of each class respectively.
The basic idea behind decision tree algorithm is as follows: