Consider Dataset of COVID-19 Infection and Implement ID3 Algorithm
Consider Dataset of COVID-19 Infection and Implement ID3 Algorithm
Marks: 05
2. Considering that all rows don’t belong to the same class, split the dataset S into subsets using
the feature for which the Information Gain is maximum.
3. Make a decision tree node using the feature with the maximum Information gain.
4. If all rows belong to the same class, make the current node as a leaf node with the class as its
label.
5. Repeat for the remaining features until we run out of all features, or the decision tree has all
leaf nodes.