A new approach to K-nearest neighbors distance metrics on sovereign country credit rating
This study introduces feature importance K-nearest neighbors (FIKNN), an innovative adaptation of the K-nearest neighbors (KNN) algorithm tailored for classifying sovereign country credit ratings. The primary objective is to enhance KNN's predictive accuracy by integrating a feature importance...
Gespeichert in:
Veröffentlicht in: | Kuwait journal of science 2025-01, Vol.52 (1), p.100324, Article 100324 |
---|---|
Hauptverfasser: | , |
Format: | Artikel |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | This study introduces feature importance K-nearest neighbors (FIKNN), an innovative adaptation of the K-nearest neighbors (KNN) algorithm tailored for classifying sovereign country credit ratings. The primary objective is to enhance KNN's predictive accuracy by integrating a feature importance mechanism derived from the random forest algorithm, which prioritizes significant features and reduces the impact of less relevant ones, refining the distance computation within KNN. Utilizing a comprehensive dataset of sovereign credit ratings, the performance of FIKNN was assessed against traditional KNN using various feature sets and bootstrap samples. The FIKNN model consistently outperformed the standard KNN by approximately 1% in classification accuracy, attributed to the weighted distance metric adjusting feature influence based on importance. Key findings indicate that FIKNN effectively manages datasets with varying feature relevance and demonstrates a positive correlation between feature diversity and model performance. Future research will explore other distance metrics and refine the feature importance weighting mechanism to broaden FIKNN's applicability in diverse predictive tasks.
•The adapted version of the KNN algorithm, FIKNN, improves country credit ratings.•Feature importance weighting optimizes KNN's distance calculation.•FIKNN achieves 1% higher classification accuracy compared to traditional KNN.•The model performs exceptionally well with datasets of high feature diversity.•Future research aims to explore other distance metrics and weighting mechanisms. |
---|---|
ISSN: | 2307-4108 |
DOI: | 10.1016/j.kjs.2024.100324 |