
Are A and B conditionally independent given the class label?
I calculated that
$$P(A=1) = \frac{1}{2}$$ $$P(B=1) = \frac{2}{5}$$ $$P(A=1,B=1)=\frac{1}{5}$$
My answer is yes. I do it by anding $(A\text{ and }B)$ which shows that when $A = 1$ and $B = 1$ it doesn't imply Class will be +. How can I actually prove this without this pseudo prove I have come up with?
A and B are conditionaly independent of C iff for every value of C, $P(A\cap B|C) = P(A|C)P(B|C)$
Lets try class = +.
$P(A\cap B|+)=\frac{P(A\cap\ B \cap +)}{P(+)} = \frac{1}{5} \neq P(A|+)P(B|+) = \frac{3}{5}\frac{2}{5} = \frac{6}{25}$
So no, they are not.