Decision Tree - Gini Index
Decision Tree - Gini Index
&
KESHAV MEMORIAL ENGINEERING COLLEGE
ARTIFICIAL INTELLIGENCE
(PC 502CSM)
Deepika.M
Assistant Professor, CSE(AIML)
NGIT
UNIT-IV
Learning
DECISION TREES
Gini index
• The Gini index measures impurity or inequality
frequently used in decision tree algorithms.
• It quantifies the probability of misclassifying a
randomly chosen element if it were randomly
labeled according to the distribution of labels in a
particular node.
• The equation for the Gini index is as follows: