题目
题目
单项选择题

Question4 If you use a decision tree to classify the input matrix for the output then which of the following splits at the root node gives the highest information gain? Assume f1 denotes the first feature, corresponding to the first column of X, and f2 denotes the second feature, corresponding to the second column. (select one) f2> 5 f1 > 6 f2> 2 f1> 7 ResetMaximum marks: 2 Flag question undefined

选项
A.f2> 5
B.f1 > 6
C.f2> 2
D.f1> 7
题目图片
查看解析

查看解析

标准答案
Please login to view
思路分析
We are asked to compare possible root splits for a decision tree using two features, f1 (first column of X) and f2 (second column of X), with thresholds given in the options. Since the actual class labels y and the exact distribution of X are not shown here, we reason conceptually about how information gain would behave for each split. Option 1: f2 > 5 - This split uses the second feature with a threshold of 5. The effectiveness of this split depends on how many samples with f2 > 5 belong to each class versus how many samples with f2 <= 5 belong to each class. - If the data is such that f2 > 5 c......Login to view full explanation

登录即可查看完整答案

我们收录了全球超50000道考试原题与详细解析,现在登录,立即获得答案。

类似问题

更多留学生实用工具

加入我们,立即解锁 海量真题独家解析,让复习快人一步!