Skip to main navigation Skip to search Skip to main content

Optimizing hyperparameters in the k-NN classifier to maximize Fβ score

Research output: Chapters, Conference Papers, Creative and Literary WorksRGC 32 - Refereed conference paper (with host publication)peer-review

Abstract

Classification methods typically aim at achieving desirable performance in multiple accuracy measures. When correct classification of certain class is more important or misclassifying a particular class is more costly, the precision or recall measure would be more relevant. The Fβ score combines precision and recall into an aggregate accuracy measure by a weight (β) indicating their relative importance and is appropriate for imbalanced datasets. The classical k-NN algorithm requires hyperparameters including a set of variables (or features), neighbourhood size (k) and a distance metric as input. This study aims to maximize the Fβ score by optimizing the choice of variables and k in the k-NN classifier for binary classification. The problem is formulated by a mixed integer linear fractional program (MILFP) and solved by parametric algorithm. Results are compared with the ensemble approach k-NN, a prominent k-NN variant. The Hassanat distance is adopted in both classifiers due to its better performance on disease prediction datasets than other k-NN variants in recent studies. Their performances of the Fβ scores are tested on six publicly available datasets. © 2025 Author(s).
Original languageEnglish
Title of host publicationProceedings of the International Conference on Numerical Analysis and Applied Mathematics 2023 (ICNAAM-2023)
EditorsTheodore Simos, Charalambos Tsitouras
PublisherAIP Publishing
ISBN (Print)978-0-7354-5245-9
DOIs
Publication statusPublished - 11 Sept 2025
Event21st International Conference of Numerical Analysis and Applied Mathematics (ICNAAM-2023) - Galaxy Hotel, Heraklion, Crete, Greece
Duration: 11 Sept 202317 Sept 2023
https://icnaam.org/

Publication series

NameAIP Conference Proceedings
Volume3315
ISSN (Print)0094-243X
ISSN (Electronic)1551-7616

Conference

Conference21st International Conference of Numerical Analysis and Applied Mathematics (ICNAAM-2023)
Abbreviated titleICNAAM 2023
PlaceGreece
CityCrete
Period11/09/2317/09/23
Internet address

UN SDGs

This output contributes to the following UN Sustainable Development Goals (SDGs)

  1. SDG 3 - Good Health and Well-being
    SDG 3 Good Health and Well-being

Fingerprint

Dive into the research topics of 'Optimizing hyperparameters in the k-NN classifier to maximize Fβ score'. Together they form a unique fingerprint.

Cite this