2. Use the PlayTennis training example again. (15 marks) (a) (10 marks) Construct a Decision Tree. Note that the order of attributes selection is
View the step-by-step solution to:

Question

Screen Shot 2019-10-02 at 8.37.07 PM.pngDATA ANALYTICS QUESTION

QUESTION GIVEN AND TENNIS EXAMPLE HERE IN THE IMAGESScreen Shot 2019-10-02 at 8.37.00 PM.pngScreen Shot 2019-10-02 at 8.36.54 PM.pngScreen Shot 2019-10-02 at 8.36.48 PM.pngScreen Shot 2019-10-02 at 8.36.39 PM.pngScreen Shot 2019-10-01 at 2.49.13 PM.png

Screen Shot 2019-10-01 at 2.49.13 PM.png

2. Use the PlayTennis training example again. (15 marks)
(a) (10 marks) Construct a Decision Tree. Note that the order of
attributes selection is based on the entropy theory for information
gain.
(b) (5 marks) Us the classifier to determine
(Outlook Rain, Temperature Hot, Humidity High, Windweak, PlayTennis =?)

Screen Shot 2019-10-02 at 8.36.39 PM.png

Ea example: play tennis.
Day Outlook Temperature Humidity Wind 5W D1 Sunny Hot High Weak No
D2 Sunny Hot High Strong No
D3 Overcast Hot High Weak Yes
D4 Rainy Mild High Weak Yes
D5 Rainy Cool Nomial Weak Yes
D6 Rainy Cool Normal Strong No
D7 Overcast Cool Nomial Strong Yes
D8 Sunny Mild High Weak No
D9 Sunny Cool Nomal Weak Yes
D1 0 Rainy Mild Normal Weak Yes
D1 1 Sunny Mild Normal Strong Yes
D1 2 Overcast Mild High Strong Yes
D1 3 Overcast Hot Normal Weak Yes D14 Rainy Mild High Strong No

Screen Shot 2019-10-02 at 8.36.48 PM.png

Wind Strong Day Outlook Temperature Humidity Wind W D2 Sunny Hot High Strong No
D6 Rainy Cool Normal Strong No
D7 Overcast Cool Normal Strong Yes
D1 1 Sunny Mild Normal Strong Yes
D1 2 Overcast Mild High Strong Yes
D14 Rainy Mild High Strong No wind strong —> humidity high Day Outlook Temperature Humidity Wind W D2 Sunny Hot High Strong No
D1 2 Overcast Mild High Strong Yes
D14 Rainy Mild High Strong No wind strong —> humidity high -)EE§
Day Outlook Temperature Humidity Wind m D2 Sunny Hot High Strong No wind strong -> humidity high-3 temp. mild Day Outlook Temperature Humidity Wind W D12 Overcast Mild High Strong Yes
D14 Rainy Mild High Strong No

Screen Shot 2019-10-02 at 8.36.54 PM.png

wind strong —> humidity high—3 temp. mild —) outlook &‘ 1,12, vote yes or no. Day Outlook Tern peratu re Humidity Wind m
wind strong —> humidity high—:- temp. mild —> outlook overcast. Day Outlook Temperature Humidity Wind W D12 Overcast Mild High Strong Yes wind strong —> humidity high—3 temp. mild —> outlook rainy Day Outlook Temperature Humidity Wind m
D14 Rainy Mild High Strong No wind strong —> humidity high —) temp cool —> 1/3, no. Day Outlook Temperature Humidity Wind W wind strong —> humidity normal. Day Outlook Temperature Humidity Wind W
D6 Rainy Cool Normal Strong No
D7 Overcast Cool Normal Strong Yes D1 1 Sunny Mild Normal Strong Yes wind strong -> humidity normal. -) temp hot -> yes. Day Outlook Temperature Humidity Wind W wind strong -> humidity normal. -) temp. mild. Day Outlook Temperature Humidity Wind W
D11 Sunny Mild Normal Strong Yes

Screen Shot 2019-10-02 at 8.37.00 PM.png

wind strong —> humidity normal. —> temp cool Day Outlook Temperature D6 Rainy Cool
D7 Overcast Cool looking further into outlook. Wind Week Day Outlook Temperature D1 Sunny Hot
D3 Overcast Hot
D4 Rainy Mild
D5 Rainy Cool
D8 Sunny Mild
D9 Sunny Cool
D10 Rainy Mild
D13 Overcast Hot Humidity Wind m Normal Strong No
Normal Strong Yes Humidity Wind Em High Weak No
High Weak Yes
High Weak Yes
Normal Weak Yes
High Weak No
Normal Weak Yes
Normal Weak Yes
Nomial Weak Yes Wind Weak -> M ' Day Outlook Temperature D1 Sunny Hot
D3 Overcast Hot
D4 Rainy Mild D8 Sunny Mild Humidity Wind Hacienda High Weak No
High Weak Yes
High Weak Yes
High Weak No

Screen Shot 2019-10-02 at 8.37.07 PM.png

Wind Weak-3 fl 2255" temp. hot
Day Outlook Temperature Humidity Wind 3W D1 Sunny Hot High Weak No
D3 Overcast Hot High Weak Yes
look further into the attribute outlook.
Wind Weak —> EE&— —> temp. mild
Day Outlook Temperature Humidity Wind W
D4 Rainy Mild High Weak Yes
D8 Sunny Mild High Weak No
look further into the attribute outlook.
Wind Weak -) W- -) temp. tool -> yes or I'IoI 214 Day Outlook Temperature Humidity Wind m Wind Weak— humidity normal 3 yes. Day Outlook Temperature Humidity Wind W D5 Rainy Cool NomIal Weak Yes
D9 Sunny Cool Normal Weak Yes
D10 Rainy Mild NomIal Weak Yes D13 Overcast Hot NomIal Weak Yes

Recently Asked Questions

Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors.

-

Educational Resources
  • -

    Study Documents

    Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access.

    Browse Documents
  • -

    Question & Answers

    Get one-on-one homework help from our expert tutors—available online 24/7. Ask your own questions or browse existing Q&A threads. Satisfaction guaranteed!

    Ask a Question
Ask Expert Tutors You can ask 0 bonus questions You can ask 0 questions (0 expire soon) You can ask 0 questions (will expire )
Answers in as fast as 15 minutes