Question: The J48 algorithm was applied to the weather.nominal.arff file in Weka to produce the decision tree shown below Next, we apply the decision tree to
The J48 algorithm was applied to the weather.nominal.arff file in Weka to produce the decision tree shown below
Next, we apply the decision tree to the following test dataset. Please fill in the following blanks.
Outlook=sunny, Temperature=hot, Humidity=high, Windy=false, Play(actual)=no, Predicted class = Blank 1. Outlook=overcast, Temperature=hot, Humidity=high, Windy=true, Play(actual)=yes, Predicted class = Blank 2. Outlook=rainy, Temperature=cool, Humidity=normal, Windy=true, Play(actual)=yes, Predicted class = Blank 3. Outlook=sunny, Temperature=mild, Humidity=normal, Windy=False, Play(actual)=No, Predicted class = Blank 4. Outlook=overcast, Temperature=hot, Humidity=high, Windy=False, Play(actual)=yes, Predicted class = Blank 5. Outlook=rainy, Temperature=mild, Humidity=high, Windy=False, Play(actual)=yes, Predicted class = Blank 6.

outlook = sunny = overcast = rainy humidity yes (4.0) windy = high = normal = TRUE = FALSE no (3.0) yes (2.0) no (2.0) yes (3.0)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
