Computational Thinking ct.cs.ubc.ca
Administrative notes
- Labs this week: project time. Remember, you need
to pass the project in order to pass the course! (See course syllabus.)
- We are still unable to upload clicker grades and are
Administrative notes Labs this week: project time. Remember, you - - PowerPoint PPT Presentation
Administrative notes Labs this week: project time. Remember, you need to pass the project in order to pass the course! (See course syllabus.) We are still unable to upload clicker grades and are waiting for help from UBC IT on this.
Computational Thinking ct.cs.ubc.ca
Computational Thinking ct.cs.ubc.ca
Computational Thinking ct.cs.ubc.ca
Computational Thinking ct.cs.ubc.ca
Computational Thinking ct.cs.ubc.ca
Computational Thinking ct.cs.ubc.ca
Computational Thinking ct.cs.ubc.ca
Computational Thinking ct.cs.ubc.ca
Computational Thinking ct.cs.ubc.ca
Computational Thinking ct.cs.ubc.ca
Computational Thinking ct.cs.ubc.ca
Computational Thinking ct.cs.ubc.ca
Computational Thinking ct.cs.ubc.ca
Computational Thinking ct.cs.ubc.ca
http://jerome.boulinguez.free.fr/english/file/hotpotatoes/familytree.htm
Computational Thinking ct.cs.ubc.ca
http://jerome.boulinguez.free.fr/english/file/hotpotatoes/familytree.htm
Computational Thinking ct.cs.ubc.ca
Computational Thinking ct.cs.ubc.ca
Computational Thinking ct.cs.ubc.ca
Computational Thinking ct.cs.ubc.ca
Computational Thinking ct.cs.ubc.ca
https://gbr.pepperdine.edu/2010/08/how-gerber-used-a- decision-tree-in-strategic-decision-making/
Computational Thinking ct.cs.ubc.ca
Computational Thinking ct.cs.ubc.ca
Computational Thinking ct.cs.ubc.ca
Weather Wallet Ice Cream? Great Empty No Nasty Empty No Great Full Yes Okay Full Yes Nasty Full No
Computational Thinking ct.cs.ubc.ca
Weather Wallet Ice Cream? Great Empty No Nasty Empty No Great Full Yes Okay Full Yes Nasty Full No conditions attributes
Computational Thinking ct.cs.ubc.ca
Weather Wallet Ice Cream? Great Empty No Nasty Empty No Great Full Yes Okay Full Yes Nasty Full No conditions attributes
Empty Full Nasty Okay
Great
Computational Thinking ct.cs.ubc.ca
Outlook Temperature Humidity Windy Play? sunny hot high false No sunny hot high true No
hot high false Yes rain mild high false Yes rain cool normal false Yes rain cool normal true No
cool normal true Yes sunny mild high false No sunny cool normal false Yes rain mild normal false Yes sunny mild normal true Yes
mild high true Yes
hot normal false Yes rain mild high true No
Example adapted from http://www.kdnuggets.com/ data_mining_course/index.html#materials
Computational Thinking ct.cs.ubc.ca
Outlook Temperature Humidity Windy Play? sunny hot high false No sunny hot high true No
hot high false Yes rain mild high false Yes rain cool normal false Yes rain cool normal true No
cool normal true Yes sunny mild high false No sunny cool normal false Yes rain mild normal false Yes sunny mild normal true Yes
mild high true Yes
hot normal false Yes rain mild high true No
Computational Thinking ct.cs.ubc.ca
Rainy
Outlook? Temperature? Humidity? Windy? Sunny Overcast Windy? Humidity? Humidity? true false … … … … …
Computational Thinking ct.cs.ubc.ca
Computational Thinking ct.cs.ubc.ca
Outlook Temperature Humidity Windy Play? sunny hot high false No sunny hot high true No
hot high false Yes rain mild high false Yes rain cool normal false Yes rain cool normal true No
cool normal true Yes sunny mild high false No sunny cool normal false Yes rain mild normal false Yes sunny mild normal true Yes
mild high true Yes
hot normal false Yes rain mild high true No
Computational Thinking ct.cs.ubc.ca
Computational Thinking ct.cs.ubc.ca
Outlook Temperature Humidity Windy Play? sunny hot high false No sunny hot high true No
hot high false Yes rain mild high false Yes rain cool normal false Yes rain cool normal true No
cool normal true Yes sunny mild high false No sunny cool normal false Yes rain mild normal false Yes sunny mild normal true Yes
mild high true Yes
hot normal false Yes rain mild high true No
Computational Thinking ct.cs.ubc.ca
temperature Yes Yes No No Yes Yes Yes Yes No No Yes Yes Yes No hot mild cool
Computational Thinking ct.cs.ubc.ca
Outlook Temperature Humidity Windy Play? sunny hot high false No sunny hot high true No
hot high false Yes rain mild high false Yes rain cool normal false Yes rain cool normal true No
cool normal true Yes sunny mild high false No sunny cool normal false Yes rain mild normal false Yes sunny mild normal true Yes
mild high true Yes
hot normal false Yes rain mild high true No
Computational Thinking ct.cs.ubc.ca
Outlook Yes Yes No No No Yes Yes Yes Yes Yes Yes Yes No No sunny
rainy
Computational Thinking ct.cs.ubc.ca
Windy Yes Yes Yes Yes Yes Yes No No Yes Yes Yes No No No true false
Computational Thinking ct.cs.ubc.ca
Humidity Yes Yes Yes No No No No Yes Yes Yes Yes Yes Yes No normal high
Computational Thinking ct.cs.ubc.ca
Computational Thinking ct.cs.ubc.ca
Windy Yes Yes Yes Yes Yes Yes No No Yes Yes Yes No No No true false Humidity Yes Yes Yes No No No No Yes Yes Yes Yes Yes Yes No normal high
Computational Thinking ct.cs.ubc.ca
Outlook sunny
rainy
Computational Thinking ct.cs.ubc.ca
mild
Temperature No No Yes No Yes hot cool Windy Yes Yes No No Yes No true false Humidity No No No Yes Yes normal high
Computational Thinking ct.cs.ubc.ca
Computational Thinking ct.cs.ubc.ca
mild
Temperature N/A Yes No Yes No hot cool Windy Yes Yes Yes No No true false Humidity Yes No Yes Yes No normal high
Computational Thinking ct.cs.ubc.ca
Computational Thinking ct.cs.ubc.ca
Computational Thinking ct.cs.ubc.ca
Outlook sunny
rainy Windy No true false Humidity normal high Yes No Yes Yes
Computational Thinking ct.cs.ubc.ca
Outlook sunny
Humidity normal high No Yes Yes
Computational Thinking ct.cs.ubc.ca
Outlook sunny
Humidity normal high No Yes Yes
Computational Thinking ct.cs.ubc.ca