Skip to content

decision tree

learning

Level 2 of 3

Also called a classification tree.

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 decision tree's own run on the numbers shown.

choose one

question 1

Points 3 1 t, 0 7 t, 6 4 t, 10 2 s and 5 8 t, grown at most 2 deep. How many looks in all, each question reading each point of its group once?

02468100246810A4+1
the answer, and why

the answer is D

The 5 points stand at 5 places across and 5 up, so 4 + 4 = 8 questions, each reading 5 points. Across below 8 leaves two groups of one shape, so no other group is weighed: 8 × 5 = 40 looks.

if you chose another

  • That counts the questions, not the points each reads.
  • That counts each point once.
  • That counts only the 4 questions across.

new numbersthe test page's numbers

question 2

Four points 4 0 s, 4 9 t, 7 0 t and 7 9 s, the corners crossed, grown at most 3 deep. How many leaves does the tree have?

02468100246810A2+2
the answer, and why

the answer is B

Each question, across below 5.5 or up below 4.5, leaves 1 triangle and 1 square on each side, as mixed as the group. No question gains, so the root is a leaf.

if you chose another

  • That would need questions that gain; here none does.
  • That is the number of shapes, not of leaves.
  • That is the greatest depth, which the tree never reaches.

new numbersthe test page's numbers