Decision Tree MCQs
Decision Tree MCQs 1. Decision Trees can be used for A. Classification Tasks B. Regression Tasks C. Multi-output tasks D. All of the above Ans: D 2. The iris dataset has A. 5 features and 3 classes B. 4 features and 3 classes C. 2 features and 3 classes D. 4 features and 2 classes Ans: B 3. A node’s value attribute tells you how many training instances of each class this node applies to Top of Form True False Ans: A 4. A node’s gini attribute measures Top of Form The number of training instances in the node The ratio of training instances in the node Its impurity None of these Ans: C 5. If all the training instances of a node belong to the same class then the value of the node's Gini attribute will be 1 0 Any integer between 0 and 1 A negative value Ans: B 6. A Gini coefficient of 1 expresses maximal inequality amo