[R] Rpart query

jagdeesh_mn jagz8595 at gmail.com
Tue Oct 12 11:36:55 CEST 2010


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?

-- 
View this message in context: http://r.789695.n4.nabble.com/Rpart-query-tp2991198p2991483.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list