As mentioned before, I have a classification problem and unbalanced data set. The majority class contains 88% of all samples.
I have trained a Generalized Boosted Regression model using gbm()
from the gbm
package in R
and get the following output:
interaction.depth n.trees Accuracy Kappa Accuracy SD Kappa SD
1 50 0.906 0.523 0.00978 0.0512
1 100 0.91 0.561 0.0108 0.0517
1 150 0.91 0.572 0.0104 0.0492
2 50 0.908 0.569 0.0106 0.0484
2 100 0.91 0.582 0.00965 0.0443
2 150 0.91 0.584 0.00976 0.0437
3 50 0.909 0.578 0.00996 0.0469
3 100 0.91 0.583 0.00975 0.0447
3 150 0.911 0.586 0.00962 0.0443
Looking at the 90% accuracy I assume that model has labeled all the samples as majority class. That's clear. And what is not transparent: how Kappa is calculated.
- What does this Kappa values (near to 60%) really mean? Is it enough to say that the model is not classifying them just by chance?
- What do
Accuracy SD
andKappa SD
mean?