[Paper Review] Comparison of 14 different families of classification algorithms on 115 binary datasets
This study evaluates 14 classification algorithm families on 115 binary datasets using rigorous hyperparameter tuning and statistical analysis. It finds that random forest, gradient boosting machines (gbm), and RBF SVM perform best with no practically significant difference in error rates (threshold: 0.0112), while RBF SVM is significantly faster in training and inference.
We tested 14 very different classification algorithms (random forest, gradient boosting machines, SVM - linear, polynomial, and RBF - 1-hidden-layer neural nets, extreme learning machines, k-nearest neighbors and a bagging of knn, naive Bayes, learning vector quantization, elastic net logistic regression, sparse linear discriminant analysis, and a boosting of linear classifiers) on 115 real life binary datasets. We followed the Demsar analysis and found that the three best classifiers (random forest, gbm and RBF SVM) are not significantly different from each other. We also discuss that a change of less then 0.0112 in the error rate should be considered as an irrelevant change, and used a Bayesian ANOVA analysis to conclude that with high probability the differences between these three classifiers is not of practical consequence. We also verified the execution time of "standard implementations" of these algorithms and concluded that RBF SVM is the fastest (significantly so) both in training time and in training plus testing time.
Motivation & Objective
- To compare 14 diverse classification algorithm families on real-world binary datasets with rigorous hyperparameter tuning.
- To identify the most accurate and efficient algorithms for binary classification tasks.
- To establish a practical threshold for irrelevance in error rate differences (0.0112) to guide algorithm selection.
- To apply Bayesian ANOVA to assess whether performance differences among top algorithms are practically meaningful.
- To address limitations in prior work, such as default hyperparameters and multi-class extensions, by focusing on binary problems and standard implementations.
Proposed method
- The study uses 115 binary datasets from the UCI repository, transformed from multi-class problems.
- Each algorithm is tuned using carefully selected hyperparameter ranges, avoiding default values to improve performance.
- The Demsar procedure is applied for non-parametric statistical comparison of algorithm performance.
- A Bayesian ANOVA model is used to assess the probability that performance differences are practically irrelevant.
- The threshold of 0.0112 for error rate differences is derived from effect size considerations and used to define practical irrelevance.
- Execution times are measured using standard R implementations to compare training and inference efficiency.
Experimental results
Research questions
- RQ1Which classification algorithm families achieve the highest accuracy on binary datasets when hyperparameters are optimally tuned?
- RQ2Are the performance differences among the top-performing algorithms practically significant or negligible?
- RQ3How do the training and inference times of the top algorithms compare in standard implementations?
- RQ4Can a Bayesian ANOVA model effectively assess the practical relevance of small error rate differences?
- RQ5Does the exclusion of multi-class extensions and use of binary problems lead to different conclusions than prior large-scale comparisons?
Key findings
- Random forest, gradient boosting machines (gbm), and RBF SVM are the top three performing algorithms with no statistically significant difference in error rates.
- The difference in error rate between these three algorithms is below the practical irrelevance threshold of 0.0112, indicating no meaningful performance distinction.
- RBF SVM is significantly faster than random forest and gbm in both training and training-plus-testing time.
- Polynomial kernel SVM, extreme learning machines, and 1-hidden-layer neural networks perform similarly and are not significantly better than the top three.
- The Bayesian ANOVA confirms with high probability that the differences among the top three algorithms are not practically consequential.
- The study identifies a need for better hyperparameter selection methods, especially for random forests and gradient boosting machines, which lack systematic tuning research.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.