decision tree
play

Decision Tree Prof. Seungchul Lee Industrial AI Lab. Feature Test - PowerPoint PPT Presentation

Decision Tree Prof. Seungchul Lee Industrial AI Lab. Feature Test Feature 1 Feature 2 Feature 3 Feature 4 output ? Yes Low Medium Bad Feature test in the first level Yes Yes High Medium Bad ? No High Medium Good No No


  1. Decision Tree Prof. Seungchul Lee Industrial AI Lab.

  2. Feature Test Feature 1 Feature 2 Feature 3 Feature 4 output ? Yes Low Medium Bad • Feature test in the first level Yes Yes High Medium Bad ? No High Medium Good No No Medium High Good ? No Medium Low Good 4 Feature 1 Yes No Low High Bad Yes No Medium High Bad ? Yes No ? Yes High Low Bad Good: 2 Good: 0 Good: 1 Bad: 2 Bad: 3 Bad: 0 2

  3. Feature Test Feature 1 Feature 2 Feature 3 Feature 4 output ? Yes Low Medium Bad • Homogeneous set in the first level Yes Yes High Medium Bad ? No High Medium Good No No Medium High Good ? No Medium Low Good 4 Feature 1 Yes No Low High Bad Yes No Medium High Bad ? Yes No ? Yes High Low Bad Good: 2 Good: 0 Good: 1 Bad: 2 Bad: 3 Bad: 0 3 Feature 2 Yes No Good: 0 Good: 3 Bad: 3 Bad: 2 3

  4. Feature Test Feature 1 Feature 2 Feature 3 Feature 4 output ? Yes Low Medium Bad • Homogeneous set in the first level Yes Yes High Medium Bad ? No High Medium Good No No Medium High Good ? No Medium Low Good 4 Feature 1 Yes No Low High Bad Yes No Medium High Bad ? Yes No ? Yes High Low Bad Good: 2 Good: 0 Good: 1 Bad: 2 Bad: 3 Bad: 0 3 2 Feature 2 Feature 3 Medium Low High Yes No Good: 0 Good: 3 Good: 2 Good: 0 Good: 1 Bad: 3 Bad: 2 Bad: 1 Bad: 2 Bad: 2 4

  5. Feature Test Feature 1 Feature 2 Feature 3 Feature 4 output ? Yes Low Medium Bad • Homogeneous set in the first level Yes Yes High Medium Bad ? No High Medium Good No No Medium High Good ? No Medium Low Good 4 Feature 1 Yes No Low High Bad Yes No Medium High Bad ? Yes No ? Yes High Low Bad Good: 2 Good: 0 Good: 1 Bad: 2 Bad: 3 Bad: 0 3 2 0 Feature 2 Feature 3 Feature 4 Medium Low High Medium Low High Yes No Good: 0 Good: 3 Good: 2 Good: 0 Good: 1 Good: 1 Good: 1 Good: 1 Bad: 3 Bad: 2 Bad: 1 Bad: 2 Bad: 2 Bad: 2 Bad: 1 Bad: 2 5

  6. Feature Test Feature 1 Feature 2 Feature 3 Feature 4 output ? Yes Low Medium Bad • Homogeneous set in the first level Yes Yes High Medium Bad ? No High Medium Good No No Medium High Good ? No Medium Low Good 4 Feature 1 Yes No Low High Bad Yes No Medium High Bad ? Yes No ? Yes High Low Bad Good: 2 Good: 0 Good: 1 Bad: 2 Bad: 3 Bad: 0 6

  7. Feature Test Feature 1 Feature 2 Feature 3 Feature 4 output ? Yes Low Medium Bad • Homogeneous set in the second level Yes Yes High Medium Bad ? No High Medium Good No No Medium High Good ? No Medium Low Good 4 Feature 1 Yes No Low High Bad Yes No Medium High Bad ? Yes No ? Yes High Low Bad Good: 2 Good: 0 Good: 1 Bad: 2 Bad: 3 Bad: 0 7

  8. Feature Test Feature 1 Feature 2 Feature 3 Feature 4 output ? Yes Low Medium Bad • Homogeneous set in the second level Yes Yes High Medium Bad ? No High Medium Good No No Medium High Good ? No Medium Low Good 4 Feature 1 Yes No Low High Bad Yes No Medium High Bad ? Yes No ? Yes High Low Bad Good: 2 Good: 0 Good: 1 Bad: 2 Bad: 3 Bad: 0 4 Feature 2 Yes No Good: 0 Good: 2 Bad: 2 Bad: 0 8

  9. Feature Test Feature 1 Feature 2 Feature 3 Feature 4 output ? Yes Low Medium Bad • Homogeneous set in the second level Yes Yes High Medium Bad ? No High Medium Good No No Medium High Good ? No Medium Low Good 4 Feature 1 Yes No Low High Bad Yes No Medium High Bad ? Yes No ? Yes High Low Bad Good: 2 Good: 0 Good: 1 Bad: 2 Bad: 3 Bad: 0 4 2 Feature 2 Feature 3 Medium Low High Yes No Good: 0 Good: 2 Good: 1 Good: 0 Good: 1 Bad: 2 Bad: 0 Bad: 0 Bad: 1 Bad: 1 9

  10. Feature Test Feature 1 Feature 2 Feature 3 Feature 4 output ? Yes Low Medium Bad • Homogeneous set in the second level Yes Yes High Medium Bad ? No High Medium Good No No Medium High Good ? No Medium Low Good 4 Feature 1 Yes No Low High Bad Yes No Medium High Bad ? Yes No ? Yes High Low Bad Good: 2 Good: 0 Good: 1 Bad: 2 Bad: 3 Bad: 0 4 2 0 Feature 2 Feature 3 Feature 4 Medium Low High Medium Low High Yes No Good: 0 Good: 2 Good: 1 Good: 0 Good: 1 Good: 1 Good: 1 Good: 0 Bad: 2 Bad: 0 Bad: 0 Bad: 1 Bad: 1 Bad: 1 Bad: 1 Bad: 0 10

  11. Feature Test Feature 1 Feature 2 Feature 3 Feature 4 output ? Yes Low Medium Bad • Homogeneous set in the second level Yes Yes High Medium Bad ? No High Medium Good No No Medium High Good ? No Medium Low Good 4 Feature 1 Yes No Low High Bad Yes No Medium High Bad ? Yes No ? Yes High Low Bad Good: 2 Good: 0 Good: 1 Bad: 2 Bad: 3 Bad: 0 4 Feature 2 Yes No Good: 0 Good: 2 Bad: 2 Bad: 0 11

  12. Feature Test Feature 1 Feature 2 Feature 3 Feature 4 output ? Yes Low Medium Bad • Decision tree Yes Yes High Medium Bad ? No High Medium Good No No Medium High Good ? No Medium Low Good Feature 1 Yes No Low High Bad Yes No Medium High Bad ? Yes No ? Yes High Low Bad Good: 0 Good: 1 Feature 2 Bad: 3 Bad: 0 Yes No Good: 0 Good: 2 Bad: 2 Bad: 0 • Issue: a large data set will be most likely to produce zero homogeneous set 12

  13. Disorder • Disorder of single set 13

  14. Quality of Test • Disorder of single set • Quality of test Q = 0.5 Feature 1 4 3 1 8 ? Yes 8 No 8 Good: 2 Good: 0 Good: 1 Bad: 2 Bad: 3 Bad: 0 D = 1 D = 0 D = 0 14

  15. Quality Feature 1 Feature 2 Feature 3 Feature 4 output ? Yes Low Medium Bad • Quality of test in the first level Yes Yes High Medium Bad ? No High Medium Good No No Medium High Good ? No Medium Low Good Q = 0.5 Feature 1 Yes No Low High Bad 4 3 1 Yes No Medium High Bad 8 ? Yes 8 No 8 ? Yes High Low Bad Good: 2 Good: 0 Good: 1 Bad: 2 Bad: 3 Bad: 0 D = 1 D = 0 D = 0 Q = 0.6 Feature 2 3 5 Yes No 8 8 Good: 0 Good: 3 Bad: 3 Bad: 2 D = 0 D = 0.97 15

  16. Quality Feature 1 Feature 2 Feature 3 Feature 4 output ? Yes Low Medium Bad • Quality of test in the first level Yes Yes High Medium Bad ? No High Medium Good No No Medium High Good ? No Medium Low Good Q = 0.5 Feature 1 Yes No Low High Bad 4 3 1 Yes No Medium High Bad 8 ? Yes 8 No 8 ? Yes High Low Bad Good: 2 Good: 0 Good: 1 Bad: 2 Bad: 3 Bad: 0 D = 1 D = 0 D = 0 Q = 0.6 Q = 0.69 Feature 2 Feature 3 3 3 2 3 5 Medium Low High Yes No 8 8 8 8 8 Good: 0 Good: 3 Good: 2 Good: 0 Good: 1 Bad: 3 Bad: 2 Bad: 1 Bad: 2 Bad: 2 D = 0 D = 0.97 D = 0.92 D = 0 D = 0.92 16

  17. Quality Feature 1 Feature 2 Feature 3 Feature 4 output ? Yes Low Medium Bad • Quality of test in the first level Yes Yes High Medium Bad ? No High Medium Good No No Medium High Good ? No Medium Low Good Q = 0.5 Feature 1 Yes No Low High Bad 4 3 1 Yes No Medium High Bad 8 ? Yes 8 No 8 ? Yes High Low Bad Good: 2 Good: 0 Good: 1 Bad: 2 Bad: 3 Bad: 0 D = 1 D = 0 D = 0 Q = 0.6 Q = 0.69 Q = 0.94 Feature 2 Feature 3 Feature 4 3 3 2 3 3 2 3 5 Medium Low High Medium Low High Yes No 8 8 8 8 8 8 8 8 Good: 0 Good: 3 Good: 2 Good: 0 Good: 1 Good: 1 Good: 1 Good: 1 Bad: 3 Bad: 2 Bad: 1 Bad: 2 Bad: 2 Bad: 2 Bad: 1 Bad: 2 D = 0 D = 0.97 D = 0.92 D = 0 D = 0.92 D = 0.92 D = 1 D = 0.92 17

  18. Quality Feature 1 Feature 2 Feature 3 Feature 4 output ? Yes Low Medium Bad • Quality of test in the first level Yes Yes High Medium Bad ? No High Medium Good No No Medium High Good ? No Medium Low Good Q = 0.5 Feature 1 Yes No Low High Bad 4 3 1 Yes No Medium High Bad 8 ? Yes 8 No 8 ? Yes High Low Bad Good: 2 Good: 0 Good: 1 Bad: 2 Bad: 3 Bad: 0 D = 1 D = 0 D = 0 18

  19. Quality Feature 1 Feature 2 Feature 3 Feature 4 output ? Yes Low Medium Bad • Quality of test in the second level Yes Yes High Medium Bad ? No High Medium Good No No Medium High Good ? No Medium Low Good Q = 0.5 Feature 1 Yes No Low High Bad Yes No Medium High Bad ? Yes No ? Yes High Low Bad Good: 2 Good: 0 Good: 1 Bad: 2 Bad: 3 Bad: 0 D = 1 D = 0 D = 0 19

  20. Quality Feature 1 Feature 2 Feature 3 Feature 4 output ? Yes Low Medium Bad • Quality of test in the second level Yes Yes High Medium Bad ? No High Medium Good No No Medium High Good ? No Medium Low Good Q = 0.5 Feature 1 Yes No Low High Bad Yes No Medium High Bad ? Yes No ? Yes High Low Bad Good: 2 Good: 0 Good: 1 Bad: 2 Bad: 3 Bad: 0 D = 1 D = 0 D = 0 Q = 0 Feature 2 2 2 Yes No 4 4 Good: 0 Good: 2 Bad: 2 Bad: 0 D = 0 D = 0 20

  21. Quality Feature 1 Feature 2 Feature 3 Feature 4 output ? Yes Low Medium Bad • Quality of test in the second level Yes Yes High Medium Bad ? No High Medium Good No No Medium High Good ? No Medium Low Good Q = 0.5 Feature 1 Yes No Low High Bad Yes No Medium High Bad ? Yes No ? Yes High Low Bad Good: 2 Good: 0 Good: 1 Bad: 2 Bad: 3 Bad: 0 D = 1 D = 0 D = 0 Q = 0 Q = 0.5 Feature 2 Feature 3 2 2 1 1 2 Medium Low High Yes No 4 4 4 4 4 Good: 0 Good: 2 Good: 1 Good: 0 Good: 1 Bad: 2 Bad: 0 Bad: 0 Bad: 1 Bad: 1 D = 0 D = 0 D = 0 D = 0 D = 1 21

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend