[R] tree.control

morganho@mail.telepac.pt morganho at mail.telepac.pt
Wed May 22 10:56:06 CEST 2002


Hi.
     I'm trying to get a tree, that fits all the lines of the training set ( a tree with no error in classification)

 data(iris)
 tree.control(150,mindev=3D-1,minsize=3D2)
 ir.tr <- tree(Species ~., iris)
 ir.tr
 summary(ir.tr)

     I'm trying to use this as a test, but it still have some examples  that are classified wrongly...
     Anyone could tell me what's the problem?

     Thanks


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list