Questions
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 [math: H] denote the entropy function. Which of the following is true?

Options
A.a. H(X) = 1.585, H(Y) = 0, H(Z)=0.9183
B.b. H(X) = 1.213, H(Y) = 1, H(Z)=0.1544
C.c. H(X) = 1.585, H(Y) = 1, H(Z)=0.9183
D.d. H(X) = 1.785, H(Y) = 1, H(Z)=0.656
Question Image
View Explanation

View Explanation

Verified Answer
Please login to view
Step-by-Step Analysis
We are given a dataset with features X, Y, and Z, and asked to assess the entropy values H(X), H(Y), and H(Z) for each option. Option a: H(X) = 1.585, H(Y) = 0, H(Z) = 0.9183 - For H(X): X takes three equally likely categories (Jack, Amy, Sam) each appearing twice in 6 samples. This yields p = 2/6 = 1/3 for each category, and H(X) = -3*(1/3)*log2(1/3) = log2(3) ≈ 1.585, so this part is plausible. - For H(Y): Y takes two values (0 and 1) with equal frequency (three 0s and three 1s). The entropy should be H(Y) = -2*(1/2)*log2(1/2) = 1 bit, not 0. Thus this option incorrectly states H(Y) = 0. - For H(Z): Z also appears to take two categories (A and B) with e......Login to view full explanation

Log 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

More Practical Tools for Students Powered by AI Study Helper

Join us and instantly unlock extensive past papers & exclusive solutions to get a head start on your studies!