Also called the naive Bayes classifier and simple Bayes.
fresh numbers
The test's questions that a run answers, asked again on new numbers whenever you like. The answer, its working and the reason for every other choice come from naive bayes's own run on the numbers shown.
choose one
1question 1
Points 5 1 t, 3 7 t, 9 9 c, 10 4 c and 2 10 s, and a new point at 3 across, 6 up. The smoothing count is 1. How many points does naive Bayes count?
the answer, and why
the answer is A
One for each of the 5 points, each added once to its class's row.
if you chose another
BThat counts the classes, each scored once after the counting.
CThat counts each point twice, once for each band; it is one point read once.
DThat is the smoothing count; it is added to counts, never counted.
Points 0 6 t, 1 9 t, 7 5 c, 4 3 s, 5 6 c, 6 8 t and 2 9 c, and a new point at 9 across, 8 up. The smoothing count is 1. What do the squares score?
the answer, and why
the answer is A
The squares at 4 3 are 1 of 7. None is in band 7 to 10 across, so 0 + 1 over 1 + 3. None is in band 7 to 10 up, so 0 + 1 over 1 + 3. 1/7 × 1/4 × 1/4 is about 0.009.
if you chose another
BThat is the triangles' score, 3/7 × 1/6 × 3/6.
CThat is the circles' score, 3/7 × 2/6 × 2/6.
DThat is the squares' share of the points alone, 1 of 7.
Five triangles, 6 9 t, 10 4 t, 6 5 t, 5 1 t and 7 7 t, and one square at 2 1. A new point at 1 across, 3 up, with no smoothing. What do the triangles score?
the answer, and why
the answer is D
No triangle stands in band 0 to 3 across, so one share is 0 of 5, and 0 times anything is 0.
if you chose another
AThat is their score with a smoothing count of 1.
BThat is their share in band 0 to 3 up alone, 1 of 5.
CThat is their share of all the points alone, 5 of 6.