Questions
Single choice
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?

View Explanation
Verified Answer
Please login to view
Step-by-Step Analysis
Question restatement: We are given a dataset with features X, Y and Z and the entropy function H. The data rows are: Jack,0,A; Jack,1,B; Amy,0,A; Amy,1,B; Sam,0,B; Sam,1,B. The task is to determine which statement about H(X), H(Y), and H(Z) is true.
Option A: H(X) = 1.585, H(Y) = 0, H(Z) = 0.9183.
- For H(X), we look at the distribution of the X values across the six records. X takes values {Jack, Amy, Sam}, each appearing twice. So P(Jack)=P(Amy)=P(Sam)=2/6=1/3. The entropy H(X) = -∑ p log2 p = -3*(1/3*log2(1/3)) = log2(3) ≈ 1.585. So the stated H(X) value of 1.585 is plausible.
- For H(Y), Y is 0 or 1, with each appearing three times (three 0s and three 1s). Thus P(Y=0)=P(Y=1)=1/2, giving H(Y) = -[0.5 log2 0.5 ......Login to view full explanationLog in for full answers
We've collected over 50,000 authentic exam questions and detailed explanations from around the globe. Log in now and get instant access to the answers!
Similar Questions
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}
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?
More Practical Tools for Students Powered by AI Study Helper
Making Your Study Simpler
Join us and instantly unlock extensive past papers & exclusive solutions to get a head start on your studies!