Re: [R] Help,Suggest me some methods to identify t raining set and test set!!!

2009-12-21 Thread Frank E Harrell Jr
Ot should be noted that the performance of single split into training + test does not perform satisfactorily unless N > 10,000 in many cases. Frank Max Kuhn wrote: I noticed Max already pointed you to the caret package. Load the library and look at the help for the createFolds function, eg:

[R] Help,Suggest me some methods to identify t raining set and test set!!!

2009-12-21 Thread bbslover
I want to split my whole dateset to training set and test set, building model in training set, and validate model using test set. Now, How can I split my dataset to them reasonally. Please give me a hand, It is better to give me some R code. and I see some ways like using SOM to project whole ind