Prev: Q5 Next: Q7
Back to week 2 page: Link

# Q6 Quiz Instruction

📗 The quizzes must be completed during the lectures and submitted on TopHat: Link. No Canvas submissions are required. The grades will be updated by the end of the week on Canvas.
📗 Please submit a regrade request if (i) you missed a few questions because you are late or have to leave during the lecture; (ii) you selected obviously incorrect answers by mistake (one or two of these shouldn't affect your grade): Link

Answer Points Out of
Correct 1 Number of Questions
Plausible but Incorrect 1 -
Obviously Incorrect 0 -


Slides: PDF

The following questions may appear as quiz questions during the lecture. If the questions are not generated correctly, try refresh the page using the button at the top left corner.


# Question 1

Code:


# Question 2

Code:


# Question 3

Code:


# Question 4

Code:


📗 [3 points] Statistically, December 18 is the cloudiest day of the year in Madison, Wisconsin. Your professor (not me, this is Professor Jerry Zhu's question) is not making this up. On that day, the sky is overcast, mostly cloudy, or partly cloudy of the time (C = 0), and clear or mostly clear of the time (C = 1). What is the entropy of the binary random variable C? Reminder that log based 2 of x can be found by log(x) / log(2).
📗 Answer: .
📗 [3 points] A bag contains \(n\) = different colored balls. Randomly draw a ball from the bag with equal probability. What is the entropy of the outcome? Reminder that log based 2 of x can be found by log(x) / log(2) or log2(x).
📗 Answer: .
📗 [1 points] kids are wearing either green or red hats at a party: they see every other kid's hat but not their own.
📗 Dad said to everyone: At least one of you is wearing a green hat.
📗 Dad asked: Do you know the color of your hat?
📗 Every kid said: No.
📗 Dad asked again: Do you know the color of your hat?
📗 Every kid said: No.
📗 Dad asked again: Do you know the color of your hat?
📗 Some kids (at least one) said: Yes.
📗 How many kids are wearing green hats?
📗 Answer: .
📗 [3 points] Find the Nearest Neighbor label for using distance.
\(x_{1}\)
\(x_{2}\)
\(y\)



📗 Answer: .





Last Updated: April 29, 2024 at 1:11 AM