Displaying 1 result from an estimated 1 matches for "x1rf".
Did you mean:
x1f
2004 Jan 20
1
random forest question
...here are three results of random forest (version 4.0-1).
The results seem to be more or less the same which is strange because I
changed the classwt.
I hoped that for example classwt=c(0.45,0.1,0.45) would result in fewer
cases classified as class 2. Did I understand something wrong?
Christian
x1rf <- randomForest(x=as.data.frame(mfilters[cvtrain,]),
y=as.factor(traingroups),
xtest=as.data.frame(mfilters[cvtest,]),
ytest=as.factor(testgroups))
> x1rf$test$confusion
1 2 3 class.error
1 9954 30 19 0.00489853
2 139...