You are on page 1of 1

Call:

randomForest(formula = as.factor(response) ~ ., data = trainvals,


1000, mtry = 6, importance = TRUE, na.action = na.omit)
Type of random forest: classification
Number of trees: 1000
No. of variables tried at each split: 6
OOB estimate of error rate: 9.2%
Confusion matrix:
0
1
2 3
4
5 6
7 8 9
0 1764
0
0 0
0 364 0 10 0 0
1
0 4081
0 2
1
0 0 10 13 38
2
0
1 3307 4
0
0 0
0 0 4
3
0
2
0 139
0
1 0
6 0 0
4
0
0
0 0 2648 81 0 42 7 0
5 461
0
0 1 168 3039 0 199 1 0
6
0
0
0 0
0
1 12 115 0 0
7 25
9
0 0 74 152 9 5251 20 0
8
0
9
0 0 35 12 0 65 569 9
9
0 160
1 0
0
0 0
3 33 390

class.error
0.174929841
0.015440290
0.002714113
0.060810811
0.046796256
0.214525717
0.906250000
0.052166065
0.185979971
0.335604770

ntree =

You might also like