Question: begin { tabular } { | c | c | c | c | c | c | } hline Day & Weather

\begin{tabular}{|c|c|c|c|c|c|}
\hline Day & Weather & Temperature & Humidity & Wind & Play? \\
\hline 1 & Sunny & Hot & High & Weak & No \\
\hline 2 & Cloudy & Hot & High & Weak & Yes \\
\hline 3 & Sunny & Mild & Normal & Strong & Yes \\
\hline 4 & Cloudy & Mild & High & Strong & Yes \\
\hline 5 & Rainy & Mild & High & Strong & No \\
\hline 6 & Rainy & Cool & Normal & Strong & No \\
\hline 7 & Rainy & Mild & High & Weak & Yes \\
\hline 8 & Sunny & Hot & High & Strong & No \\
\hline 9 & Cloudy & Hot & Normal & Weak & Yes \\
\hline 10 & Rainy & Mild & High & Strong & No \\
\hline
\end{tabular}
a)(20 points) Draw the subtree for each attribute and calculate the Information Gain for all the attributes.
b)(20 points) Based on the previous solution, which attribute will be used as a root node and Why?
c)(20 points) Using the solution you have in the first question, design the decision tree.
\ begin { tabular } { | c | c | c | c | c | c | }

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!