Skip to content
Prev 237713 / 398500 Next

Rpart query

Here is the complete dataset:


Outlook	Temp	Humidity	Windy	Class
Sunny	2	2	Yes	Play
Sunny	2	1	Yes	Don't Play
Sunny	3	1	No	Don't Play
Sunny	2	1	No	Don't Play
Sunny	1	2	No	Play
Overcast	2	1	Yes	Play
Overcast	3	1	No	Play
Overcast	1	2	Yes	Play
Overcast	3	2	No	Play
Rain	2	1	Yes	Don't Play
Rain	1	2	Yes	Don't Play
Rain	2	1	No	Play
Rain	1	1	No	Play
Rain	1	1	No	Play

And manually I was indeed able to generate a decision tree out of it. I also
used couple of other tools to generate a valid decision tree out of it. But
I am unable to generate through R.

"Or now Im pretty sure of it as when I took your dataset and used the magic
way of ctrl-c ctrl-v to make some more observations I get a decision tree."
- Pardon me, but, I couldn't decipher what you were trying to tell through
this line. Could you elaborate on this?