When dealing with imbalanced classification problem, i.e. where the class sizes are very different, small classes tend to be overlooked when tuning parameters by optimizing error rate. Blagus and Lusa (2013) suggested to remedy the problem by using this performance measure instead.
neg_gmpa(truth, prediction, na.rm = FALSE)
See error_fun
.
See error_fun
.
Whether to remove missing values or not.
A numeric scalar.
Blagus, R., & Lusa, L. (2013). Improved shrunken centroid classifiers for high-dimensional class-imbalanced data. BMC bioinformatics, 14, 64. doi:10.1186/1471-2105-14-64