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 9 8 c, 4 1 c, 2 6 t, 0 2 c, 7 9 t and 4 3 s, and a new point at 9 across, 2 up. The smoothing count is 1. How many points does naive Bayes count?
the answer, and why
the answer is B
One for each of the 6 points, each added once to its class's row.
if you chose another
AThat 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 5 5 c, 10 3 s, 8 6 t, 5 7 s, 1 0 c, 7 9 t and 0 8 s, and a new point at 4 across, 5 up. The smoothing count is 1. What do the squares score?
the answer, and why
the answer is D
The squares at 10 3, 5 7 and 0 8 are 3 of 7. One is in band 4 to 6 across, so 1 + 1 over 3 + 3. None is in band 4 to 6 up, so 0 + 1 over 3 + 3. 3/7 × 2/6 × 1/6 is about 0.024.
if you chose another
AThat is the triangles' score, 2/7 × 1/5 × 2/5.
BThat is the circles' score, 2/7 × 2/5 × 2/5.
CThat is the squares' share of the points alone, 3 of 7.
Five triangles, 4 5 t, 0 4 t, 6 7 t, 2 9 t and 4 4 t, and one square at 7 0. A new point at 9 across, 6 up, with no smoothing. What do the triangles score?
the answer, and why
the answer is D
No triangle stands in band 7 to 10 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 4 to 6 up alone, 3 of 5.
CThat is their share of all the points alone, 5 of 6.