Re: [R] cross-validation for choosing regression trees

2010-11-04 Thread Jonathan P Daily
at's the word... imbue it." - Jubal Early, Firefly From: Shiyao Liu To: r-help@r-project.org Date: 11/03/2010 09:04 PM Subject: [R] cross-validation for choosing regression trees Sent by: r-help-boun...@r-project.org Dear All, We came across a problem when using the "tree&

[R] cross-validation for choosing regression trees

2010-11-03 Thread Shiyao Liu
Dear All, We came across a problem when using the "tree" package to analyze our data set. First, in the "tree" function, if we use the default value "mindev=0.01", the resulting regression tree has a single node. So, we set "mindev=0", and obtain a tree with 931 terminal nodes. However, when we