Draw a minimal Decision Tree to encompass the following data

The question is, will you come to school tday?

  1. Is it Raining?

  2. Will there be a good topic in the AI class?

  3. Were you up late at night last night?

Raining? Good Topic? Late-night? Will come to class
N Y N Y
N N Y N
N N N N
N Y Y N
Y N N N
Y N Y N
Y Y N N
Y Y Y N


Here's another made-up dataset we'll be looking at, with 5 features, not all of them binary:

  ID   Answer   A?      B?      who?   D?     E?  
1 Y N N Fred P 100
2 Y N N Fred P 100
3 Y Y N Fred Q 101
4 Y Y N Voldy R 102
5 N Y Y Hermione P 100
6 N Y Y Hermione Q 101
7 N N Y Hermione P 100
8 N N Y Voldy S 103