A Hierarchical Hybrid Closest Access Point–Medoids Algorithm for Improved Clustering-Based Fingerprint Localization
Downloads
Traditional clustering algorithms in fingerprint-based localization often struggle with outliers, overlapping clusters, and irregular RSS variations in fingerprint databases, which reduces clustering accuracy. To address these issues, this study proposes a hierarchical hybrid approach, the closest access point–medoids (CAP-medoids) algorithm, which combines the closest access point (CAP) method with k-medoids clustering. The CAP algorithm generates initial clusters based on the strongest received signal strength (RSS) from nearby wireless access points (APs), while k-medoids refines clusters by selecting actual fingerprint vectors as cluster centers, improving robustness against noise and irregular RSS variations. The algorithm was evaluated on four publicly available fingerprint databases of varying size and density. Performance was assessed using Euclidean, Manhattan, and cosine similarity distances as similarity metrics, with silhouette scores and Davies Bouldin (DB) indices as clustering performance metrics. Results show that the CAP-medoids algorithm consistently produces more compact and well-separated clusters than standard k-medoids in small databases, with silhouette scores increasing up to 75% and DB indices decreasing up to 63%. For larger, high-density databases, performance declines, indicating sensitivity to database size. Comparisons with other hybrid algorithms, including CAP+k-means++ and k-density-based spatial clustering of applications with noise (k-DBSCAN) algorithms, confirm its overall robustness and adaptability.
Downloads
[1] Shang, S., & Wang, L. (2022). Overview of WiFi fingerprinting-based indoor positioning. IET Communications, 16(7), 725–733. doi:10.1049/cmu2.12386.
[2] Kolakowski, M. (2020). Automatic radio map creation in a fingerprinting-based BLE/UWB localisation system. IET Microwaves, Antennas & Propagation, 14(14), 1758–1765. doi:10.1049/iet-map.2019.0953.
[3] Yaro, A. S., Malý, F., & Malý, K. (2023). A Two-Nearest Wireless Access Point-Based Fingerprint Clustering Algorithm for Improved Indoor Wireless Localization. Emerging Science Journal, 7(5), 1762–1770. doi:10.28991/ESJ-2023-07-05-019.
[4] Xu, D., & Tian, Y. (2015). A Comprehensive Survey of Clustering Algorithms. Annals of Data Science, 2(2), 165–193. doi:10.1007/s40745-015-0040-1.
[5] Shtar, G., Shapira, B., & Rokach, L. (2019). Clustering Wi-Fi fingerprints for indoor–outdoor detection. Wireless Networks, 25(3), 1341–1359. doi:10.1007/s11276-018-1753-9.
[6] Ezugwu, A. E., Ikotun, A. M., Oyelade, O. O., Abualigah, L., Agushaka, J. O., Eke, C. I., & Akinyelu, A. A. (2022). A comprehensive survey of clustering algorithms: State-of-the-art machine learning applications, taxonomy, challenges, and future research prospects. Engineering Applications of Artificial Intelligence, 110, 104743. doi:10.1016/j.engappai.2022.104743.
[7] Djouzi, K., & Beghdad-Bey, K. (2019). A Review of Clustering Algorithms for Big Data. 2019 International Conference on Networking and Advanced Systems (ICNAS), 1–6. doi:10.1109/ICNAS.2019.8807822.
[8] Yaro, A. S., Maly, F., Prazak, P., & Malý, K. (2024). Improved Fingerprint-Based Localization Based on Sequential Hybridization of Clustering Algorithms. Emerging Science Journal, 8(2), 394–406. doi:10.28991/ESJ-2024-08-02-02.
[9] Quezada-Gaibor, D., Torres-Sospedra, J., Nurmi, J., Koucheryavy, Y., & Huerta, J. (2021). Lightweight Wi-Fi Fingerprinting with a Novel RSS Clustering Algorithm. 2021 International Conference on Indoor Positioning and Indoor Navigation (IPIN), 1–8. doi:10.1109/IPIN51156.2021.9662612.
[10] Kenger, O. N., Kenger, Z. D., Ozceylan, E., & Mrugalska, B. (2023). Clustering of Cities Based on Their Smart Performances: A Comparative Approach of Fuzzy C-Means, K-Means, and K-Medoids. IEEE Access, 11, 134446–134459. doi:10.1109/ACCESS.2023.3333753.
[11] Gholizadeh, N., Saadatfar, H., & Hanafi, N. (2021). K-DBSCAN: An improved DBSCAN algorithm for big data. Journal of Supercomputing, 77(6), 6214–6235. doi:10.1007/s11227-020-03524-3.
[12] Lin, H., Purmehdi, H., Fei, X., Zhao, Y., Isac, A., Louafi, H., & Peng, W. (2023). Two-stage clustering for improve indoor positioning accuracy. Automation in Construction, 154, 104981. doi:10.1016/j.autcon.2023.104981.
[13] Guo, L., Qin, W., Cai, Z., & Su, X. (2024). Hybrid Clustering Algorithm Based on Improved Density Peak Clustering. Applied Sciences (Switzerland), 14(2), 715. doi:10.3390/app14020715.
[14] Kaur, J., & Singh, H. (2015). Performance evaluation of a novel hybrid clustering algorithm using birch and K-means. 2015 Annual IEEE India Conference (INDICON), 1–6. doi:10.1109/INDICON.2015.7443414.
[15] Amiri, S., Clarke, B. S., Clarke, J. L., & Koepke, H. (2019). A General Hybrid Clustering Technique. Journal of Computational and Graphical Statistics, 28(3), 540–551. doi:10.1080/10618600.2018.1546593.
[16] Liu, M., Zhu, Q., Yun, H., Wu, Z., & Chun, H. (2025). A hybrid particle swarm clustering algorithm with novel fitness function based on minimum spanning tree and local Centroids. Journal of King Saud University - Computer and Information Sciences, 37(10), 356. doi:10.1007/s44443-025-00378-8.
[17] Woo, M., Harby, A. A., Zulkernine, F., & Abdulsalam, H. M. (2025). A two-phase hybrid clustering framework exploring transitional activities in HAR. Discover Artificial Intelligence, 5(1), 233. doi:10.1007/s44163-025-00503-6.
[18] Al-Nussairi, A. K. J., Abdulazez, A. A., Hadi, A. A., Malik, S., Patro, S. G. K., Mahanty, C., Alamiery, A. A., Naveed, Q. N., Khan, S., & Zewude, A. (2025). LS-BMO-HDBSCAN as a hybrid memetic bacterial intelligence framework for efficient data clustering. Scientific Reports, 15(1), 40686. doi:10.1038/s41598-025-24380-2.
[19] Sadowski, S., Spachos, P., & Plataniotis, K. N. (2020). Memoryless Techniques and Wireless Technologies for Indoor Localization with the Internet of Things. IEEE Internet of Things Journal, 7(11), 10996–11005. doi:10.1109/JIOT.2020.2992651.
[20] Alhmiedat, T. (2023). Fingerprint-Based Localization Approach for WSN Using Machine Learning Models. Applied Sciences (Switzerland), 13(5), 3037. doi:10.3390/app13053037.
[21] Torres-Sospedra, J., Moreira, A., Mendoza-Silva, G. M., Joao Nicolau, M., Matey-Sanz, M., Silva, I., Huerta, J., & Pendao, C. (2019). Exploiting Different Combinations of Complementary Sensor’s data for Fingerprint-based Indoor Positioning in Industrial Environments. 2019 International Conference on Indoor Positioning and Indoor Navigation (IPIN), 8911758. doi:10.1109/IPIN.2019.8911758.
[22] Moreira, A., Silva, I., Meneses, F., Nicolau, M. J., Pendao, C., & Torres-Sospedra, J. (2017). Multiple simultaneous Wi-Fi measurements in fingerprinting indoor positioning. 2017 International Conference on Indoor Positioning and Indoor Navigation (IPIN), 8115914. doi:10.1109/IPIN.2017.8115914.
[23] Wang, P. (2025). Archive Information Management System Based on K-Means Clustering with Elbow Method. 2025 3rd International Conference on Integrated Circuits and Communication Systems (ICICACS), 1–6. doi:10.1109/ICICACS65178.2025.10968391.
[24] Shahapure, K. R., & Nicholas, C. (2020). Cluster Quality Analysis Using Silhouette Score. 2020 IEEE 7th International Conference on Data Science and Advanced Analytics (DSAA), 747–748. doi:10.1109/DSAA49011.2020.00096.
[25] Lai, H., Huang, T., Lu, B. L., Zhang, S., & Xiaog, R. (2025). Silhouette coefficient-based weighting k-means algorithm. Neural Computing and Applications, 37(5), 3061–3075. doi:10.1007/s00521-024-10706-0.
[26] Ashari, I. F., Banjarnahor, R., Farida, D. R., Aisyah, S. P., Dewi, A. P., & Humaya, N. (2022). Application of Data Mining with the K-Means Clustering Method and Davies Bouldin Index for Grouping IMDB Movies. Journal of Applied Informatics and Computing, 6(1), 7–15. doi:10.30871/jaic.v6i1.3485.
- This work (including HTML and PDF Files) is licensed under a Creative Commons Attribution 4.0 International License.



















