MMiDS 6.3: Self-Assessment Quiz

Which of the following statements is not true about conditional probability?

Let \(X\) and \(Y\) be discrete random variables. Which expression defines the conditional expectation of \(X\) given \(Y = y\)?

Which of the following is a valid expression for the joint probability \(P[X=x, Y=y, Z=z]\) using the chain rule of probability?

Which of the following is the correct mathematical expression for the conditional independence of events \(A\) and \(B\) given event \(C\), denoted as \(A \perp\!\!\!\perp B \mid C\)?

In the fork configuration \(Y \leftarrow X \rightarrow Z\), which of the following conditional independence relations always holds?

In the chain configuration \(X \rightarrow Y \rightarrow Z\), which of the following conditional independence relations always holds?

In the collider configuration \(X \rightarrow Z \leftarrow Y\), which of the following conditional independence relations always holds?

What is the key conditional independence assumption in the Naive Bayes model for document classification?

In the Naive Bayes model for document classification, what does the variable \(X_m\) represent?

Which of the following best describes the graphical representation of the Naive Bayes model for document classification?

In the sentiment analysis example, what does the variable \(X\) represent after the following code is executed?

X = (count > 0).astype(int)

In the sentiment analysis example, what does the variable \(N_{km}\) represent?