Calibrated kNN classification via second-layer neighborhood analysis
Abstract The integration of artificial intelligence (AI) into medical practices has emphasized the importance of ensuring the reliability of predictive confidence, as it influences decision-making and the efficacy of AI-driven solutions. This paper focuses on the utilization of a non-parametric machine learning method, with a particular focus on the computation of confidence scores for individual classifications. Unlike parametric approaches, non-parametric techniques like k-nearest neighbors (kNN) offer flexibility without imposing strict data distribution assumptions. Leveraging this flexibility, we propose a novel kNN approach that introduces confidence-awareness through a two-layered neighborhood analysis. The developed approach is intended to support the classical non-parametric kNN classifier by providing more reliable and trustworthy class probabilities. Experimental evaluations conducted on benchmark datasets as well as a de-identified clinical real-world Electronic Health Records (EHR) data table consisting of thousands of unique class labels demonstrate the effectiveness of our approach in enhancing both, prediction accuracy and certainty assessment.
Authors
- Bastian Pfeifer (ORCID: https://orcid.org/0000-0001-7035-9535)
- Markus Kreuzthaler (ORCID: https://orcid.org/0000-0001-9824-9004)
Institutions
- Medical University of Graz (AT)
Publication Details
- Journal
- Advances in Data Analysis and Classification
- Published
- 2025-09-26
- DOI
- https://doi.org/10.1007/s11634-025-00654-5
- Citations
- 1
- Primary Topic
- Blind Source Separation Techniques
- Type
- article
- Field-Weighted Citation Impact
- 1.49
Funders
- Karl-Franzens-Universität Graz
- Medizinische Universität Graz