题目
单项选择题
Consider the following dataset with features X, Y and Z [table] X | Y | Z Jack | 0 | A Jack | 1 | B Amy | 0 | A Amy | 1 | B Sam | 0 | B Sam | 1 | B [/table] Let [math: H] denote the entropy function. Which of the following is true?
选项
A.a. H(X) = 1.213, H(Y) = 1, H(Z)=0.1544
B.b. H(X) = 1.785, H(Y) = 1, H(Z)=0.656
C.c. H(X) = 1.585, H(Y) = 0, H(Z)=0.9183
D.d. H(X) = 1.585, H(Y) = 1, H(Z)=0.9183

查看解析
标准答案
Please login to view
思路分析
To evaluate the statement, I will compute the entropy for each feature X, Y, and Z from the given dataset.
Option a: H(X) = 1.213, H(Y) = 1, H(Z) = 0.1544. Here, H(Y) = 1 is correct for a balanced binary variable (three 0s and three 1s), but H(X) = 1.213 is not the same as the actual H(X). Since X takes three categories (Jack, Amy, Sam) each appe......Login to view full explanation登录即可查看完整答案
我们收录了全球超50000道考试原题与详细解析,现在登录,立即获得答案。
类似问题
Consider the following dataset with features X, Y and Z [table] X | Y | Z Jack | 0 | A Jack | 1 | B Amy | 0 | A Amy | 1 | B Sam | 0 | B Sam | 1 | B [/table] Let H denote the entropy function. Which of the following is true?
Consider the following dataset with features X, Y and Z [table] X | Y | Z Jack | 0 | A Jack | 1 | B Amy | 0 | A Amy | 1 | B Sam | 0 | B Sam | 1 | B [/table] Let [math: H] denote the entropy function. Which of the following is true?
Consider the following dataset with features X, Y and Z [table] X | Y | Z Jack | 0 | A Jack | 1 | B Amy | 0 | A Amy | 1 | B Sam | 0 | B Sam | 1 | B [/table] Let H denote the entropy function. Which of the following is true?
Consider the following dataset with features X, Y and Z [table] X | Y | Z 0 | 0 | 0 0 | 1 | 1 1 | 0 | 0 1 | 1 | 1 2 | 0 | 1 2 | 1 | 1 [/table] Compute the entropy of [math: XYZ+1]\frac{XY}{Z+1}
更多留学生实用工具
希望你的学习变得更简单
加入我们,立即解锁 海量真题 与 独家解析,让复习快人一步!