Decision Trees from large Databases: SLIQ
Decision Trees from large Databases: SLIQ
Decision Trees from large Databases: SLIQ
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Pruning – MDL Example II<br />
• Which tree is better?<br />
7 Errors<br />
Tree 1: Tree 2:<br />
C 1<br />
C 1<br />
C 2 C 3<br />
Internal nodes Leaves Errors<br />
4 Errors<br />
C 2<br />
C 1 C 2<br />
• Cost for tree 1: 2 ∗ 4 + 3 ∗ 2 + 7 ∗ log 2 n = 14 + 7 log 2 n<br />
• Cost for tree 2: 4 ∗ 4 + 5 ∗ 2 + 4 ∗ log 2 n = 26 + 4 log 2 n<br />
• If n < 16, then tree 1 is better.<br />
• If n > 16, then tree 2 is better.<br />
C 3<br />
Sawade/Landwehr/Prasse/Scheffer, Maschinelles Lernen<br />
57