Can someone please answer follow question?
Open weather.nominal in the WEKA Explorer, run J48 (with default
parameters),generate rules by reading them off the resulting tree. How many
does test the ruleset has?
I have clicked on visualize tree and able to find the number of rules since
it is same number of leaves which is 5. By the way I know the number of
tests is 9. But don't know how
the count is 9 and what are they? Can someone explain this thanks.
Below is the weather.nominal data
\@relation weather.symbolic
\@attribute outlook {sunny, overcast, rainy}
\@attribute temperature {hot, mild, cool}
\@attribute humidity {high, normal}
\@attribute windy {TRUE, FALSE}
\@attribute play {yes, no}
\ @data sunny,hot,high,FALSE,no sunny,hot,high,TRUE,no overcast,hot,high,FALSE,yes rainy,mild,high,FALSE,yes rainy,cool,normal,FALSE,yes rainy,cool,normal,TRUE,no overcast,cool,normal,TRUE,yes sunny,mild,high,FALSE,no sunny,cool,normal,FALSE,yes rainy,mild,normal,FALSE,yes sunny,mild,normal,TRUE,yes overcast,mild,high,TRUE,yes overcast,hot,normal,FALSE,yes rainy,mild,high,TRUE,no
Aucun commentaire:
Enregistrer un commentaire