In decision trees, information gain is calculated as:
-
A
Number of leaves divided by tree depth
-
B
Gini impurity multiplied by the node size
-
C
Child entropy minus the parent's entropy
-
D
Parent entropy minus weighted child entropy
Correct answer
Correct answer
D. Parent entropy minus weighted child entropy
15 views
Explanation
Information gain measures how much a split reduces uncertainty. ID3 and C4.5 choose the split with the highest gain.
Reference
Asked in: Data Science Interviews, GATE DA
Doubts & discussion
Not sure why the answer is D? Ask here and get an explanation.
Ask a doubt about this MCQ