#+BEAMER_HEADER_EXTRA \beamerdefaultoverlayspecification{<+->}
1.1.1.3 <2-> given a set of examples: value assignment to attributes in input and corresponding output value
Price | Food Type | Rush? | Results | Index |
---|---|---|---|---|
High | Sushi | Hurry | Good | x1 |
Low | Pizza | Hurry | Good | x2 |
Medium | Hamburger | Hurry | Good | x3 |
Medium | Pizza | Relax | Good | x4 |
High | Gruel | Relax | Bad | x5 |
High | Hamburger | Relax | Good | x6 |
Low | Gruel | Hurry | Bad | x7 |
Low | Sushi | Relax | Bad | x8 |
High | Pizza | Hurry | Bad | x9 |
High | Hamburger | Hurry | Bad | x10 |
Medium | Hamburger | Hurry | Bad | x11 |
Low | Gruel | Relax | Bad | x12 |
\small
Price | Food Type | Rush? | Results | Index |
---|---|---|---|---|
High | Sushi | Hurry | Good | x1 |
Low | Pizza | Hurry | Good | x2 |
Medium | Hamburger | Hurry | Good | x3 |
Medium | Pizza | Relax | Good | x4 |
High | Gruel | Relax | Bad | x5 |
High | Hamburger | Relax | Good | x6 |
Low | Gruel | Hurry | Bad | x7 |
Low | Sushi | Relax | Bad | x8 |
High | Pizza | Hurry | Bad | x9 |
High | Hamburger | Hurry | Bad | x10 |
Medium | Hamburger | Hurry | Bad | x11 |
Low | Gruel | Relax | Bad | x12 |
2.2.1.1 <2-> That attribute that gives us the most information gain, reduces the entropy by the largest amount.
\small
Price | Food Type | Rush? | Results | Index |
---|---|---|---|---|
High | Sushi | Hurry | Good | x1 |
Low | Pizza | Hurry | Good | x2 |
Medium | Hamburger | Hurry | Good | x3 |
Medium | Pizza | Relax | Good | x4 |
High | Gruel | Relax | Bad | x5 |
High | Hamburger | Relax | Good | x6 |
Low | Gruel | Hurry | Bad | x7 |
Low | Sushi | Relax | Bad | x8 |
High | Pizza | Hurry | Bad | x9 |
High | Hamburger | Hurry | Bad | x10 |
Medium | Hamburger | Hurry | Bad | x11 |
Low | Gruel | Relax | Bad | x12 |
2.3.1.1.1 <3-> $\frac{2}{12}B(\frac{1}{2}) + \frac{3}{12}B(\frac{2}{3})+\frac{4}{12}B(\frac{1}{2})+\frac{3}{12}B(0) = 0.6371$
2.3.1.2.1 <5-> $\frac{5}{12}B(\frac{2}{5}) + \frac{3}{12}B(\frac{2}{3})+\frac{4}{12}B(\frac{1}{4}) = 0.90448$
\small
Price | Food Type | Rush? | Results | Index |
---|---|---|---|---|
High | Sushi | Hurry | Good | x1 |
Low | Pizza | Hurry | Good | x2 |
Medium | Hamburger | Hurry | Good | x3 |
Medium | Pizza | Relax | Good | x4 |
High | Gruel | Relax | Bad | x5 |
High | Hamburger | Relax | Good | x6 |
Low | Gruel | Hurry | Bad | x7 |
Low | Sushi | Relax | Bad | x8 |
High | Pizza | Hurry | Bad | x9 |
High | Hamburger | Hurry | Bad | x10 |
Medium | Hamburger | Hurry | Bad | x11 |
Low | Gruel | Relax | Bad | x12 |
\small
Price | Food Type | Rush? | Results | Index |
---|---|---|---|---|
High | Sushi | Hurry | Good | x1 |
Low | Pizza | Hurry | Good | x2 |
Medium | Hamburger | Hurry | Good | x3 |
Medium | Pizza | Relax | Good | x4 |
High | Gruel | Relax | Bad | x5 |
High | Hamburger | Relax | Good | x6 |
Low | Gruel | Hurry | Bad | x7 |
Low | Sushi | Relax | Bad | x8 |
High | Pizza | Hurry | Bad | x9 |
High | Hamburger | Hurry | Bad | x10 |
Medium | Hamburger | Hurry | Bad | x11 |
Low | Gruel | Relax | Bad | x12 |
\small
Price | Food Type | Rush? | Results | Index | Weight |
---|---|---|---|---|---|
High | Sushi | Hurry | Good | x1 | 0.0625 |
Low | Pizza | Hurry | Good | x2 | 0.0625 |
Medium | Hamburger | Hurry | Good | x3 | 0.0625 |
Medium | Pizza | Relax | Good | x4 | 0.0625 |
High | Gruel | Relax | Bad | x5 | 0.0625 |
High | Hamburger | Relax | Good | x6 | 0.0625 |
Low | Gruel | Hurry | Bad | x7 | 0.0625 |
Low | Sushi | Relax | Bad | x8 | 0.125 |
High | Pizza | Hurry | Bad | x9 | 0.125 |
High | Hamburger | Hurry | Bad | x10 | 0.125 |
Medium | Hamburger | Hurry | Bad | x11 | 0.125 |
Low | Gruel | Relax | Bad | x12 | 0.0625 |