Decision Tree Algorithm
Decision Tree Algorithm
Algorithm
Piranti Cerdas 2021
https://towardsai.net/p/programming/decision-trees-explained-with-a-practical-
example-fe47872d3b53
Introduction
A decision tree is one of the supervised machine learning
algorithms. This algorithm can be used for regression
and classification problems — yet, is mostly used for
classification problems. A decision tree follows a set of
if-else conditions to visualize the data and classify it
according to the conditions.
Root Node: This attribute is used for dividing the data into
two or more sets. The feature attribute in this node is
Overview
selected based on Attribute Selection Techniques.
+Gini index
+Information Gain(ID3)
Gini index
The measure of the degree of probability of a
particular variable being wrongly classified when
it is randomly chosen is called the Gini index or
Gini impurity.