Files
![]() |
![]() |
![]() |
Category: Tools |
|
|
Files:
![]() ![]() |
|
Sample R code for experimental evaluation of classifiers This code provides a basic scenario on Iris dataset. Suppose we would like to train a random forest and we are interested in finding the best setting for the number of features to be tried at each split (mtry parameter for the function randomForest). The number of trees is fixed to 50. There are 4 features for Iris and the factors of 0.2, 0,4, 0.6 tried (which makes 1,2 and 3 features respectively). |
Created Size Downloads |
2012-07-25 10:37:56 2.94 KB 1017 |
||