What is the probability of blindly grabbing a blue marble?
What is the probability of blindly grabbing a blue marble?
What is the probability of grabbing a blue marble given the marble has an 'X' inscribed on it?
X
X
X
X
Z
Z
Z
Z
Z
Z
What is the probability of grabbing a blue marble given the marble has an 'X' inscribed on it?
X
X
X
X
Z
Z
Z
Z
Z
Z
What is the probability of a blue marble given the marble has an 'X' inscribed on it and white border?
X
X
X
X
Z
Z
Z
Z
Z
Z
X
X
X
X
Z
Z
Z
Z
Z
Z
We need the probability of each class
# of rows with class / # of rows total
We need the probability of each feature (word), given each class
# or rows with word & class / # of rows with class (for each class)
We need the top half of the equation for all classes summed before we can finish our full calculation
If a single feature does not exist for a single class, the probability gets nuked to zero (zero times anything is zero)
Not all features are independent, nor are all features relevant