Evaluating Supervised Machine Learning Models: Principles, Pitfalls, and Metric Selection
Organizations: Jiangsu Key Laboratory of Big Data Security and Intelligent Processing, Nanjing University of Posts and Telecommunications, Nanjing, 210023, China. · School of Cyber Science and Engineering, Southeast University, Nanjing, 211189, China. · University of Brighton, United Kingdom. · University of Lancashire, United Kingdom.
Abstract
The evaluation of supervised machine learning models is a critical stage in the development of reliable predictive systems. Despite the widespread availability of machine learning libraries and automated workflows, model assessment is often reduced to the reporting of a small set of aggregate metrics, which can lead to misleading conclusions about real-world performance. This paper examines the principles, challenges, and practical considerations involved in evaluating supervised learning algorithms across classification and regression tasks. In particular, it discusses how evaluation outcomes are influenced by dataset characteristics, validation design, class imbalance, asymmetric error costs, and the choice of performance metrics. Through a series of controlled experimental scenarios using diverse benchmark datasets, the study highlights common pitfalls such as the accuracy paradox, data leakage, inappropriate metric selection, and overreliance on scalar summary measures. The paper also compares alternative validation strategies and emphasizes the importance of aligning model evaluation with the intended operational objective of the task. By presenting evaluation as a decision-oriented and context-dependent process, this work provides a structured foundation for selecting metrics and validation protocols that support statistically sound, robust, and trustworthy supervised machine learning systems.
Figures & tables
| ID | Dataset | Domain | Instances | Features | Classes |
|---|---|---|---|---|---|
| A | Default of Credit Card | Finance | 30000 | 23 | 2 |
| B | Bank Marketing | Business | 45211 | 16 | 2 |
| C | Breast Cancer Diagnostic | Medical | 569 | 30 | 2 |
| D | Chronic Kidney Disease | Medical | 400 | 24 | 2 |
| E | Dry Bean | Agriculture | 13611 | 16 | 7 |
| F | Covertype | Ecology | 581012 | 54 | 7 |
| ID | Dataset | Domain | Instances | Features | Target type |
|---|---|---|---|---|---|
| K | California Housing | Real Estate | 20640 | 8 | Continuous |
| L | Power Consumption | Energy | 2075259 | 9 | Continuous |
| M | Parkinson Telemonitoring | Medical | 5875 | 19 | Continuous |
| N | Seoul Bike Sharing | Transportation | 8760 | 13 | Count data |
| O | Diabetes Progression | Medical | 442 | 10 | Continuous |