Anomaly detection in internet of medical things with artificial intillegence




anomaly detection, outlier score, anomaly score, fuzzy logic, hybrid system


Internet of things (IoT) becomes the most popular term in the recent advances in Healthcare devices. The healthcare data in the IoT process and structure is very sensitive and critical in terms of healthy and technical considerations. Outlier detection approaches are considered as principal tool or stage of any IoT system and are mainly categorized in statistical and probabilistic, clustering and classification-based outlier detection. Recently, fuzzy logic (FL) system is used in ensemble and cascade systems with other ML-based tools to enhance outlier detection performance but its limitation involves the false detection of outliers. In this paper, we propose a fuzzy logic system that uses the anomaly score of each point using local outlier factor (LOF), connectivity-based outlier factor (COF) and generalized LOF to eliminate the confusion in classifying points as outliers or inliers. Regarding human activity recognition (HAR) dataset, the FL achieved a value of 98.2 %. Compared to the performance of LOF, COF, and GLOF individually, the accuracy increased slightly, but the increase in precision and recall indicates an increase in correctly classified data and that neither true nor abnormal data is classified wrongly. The results show the increase in precision and recall which indicates an increase in correctly classified data. Thus, it can be confirmed that fuzzy logic with input of scores achieved the desired goal in terms of mitigating cases of false detection of anomalous data. By comparing the proposed ensemble of fuzzy logic and different types of local density scores in this study, the outcomes of fuzzy logic presents a new way of elaborating or fusing the different tools of the same purpose to enhance detection performance

Author Biographies

Shalau Farhad Hussein, University of Kirkuk

College of Information Technology and Computer Science

Presidency of University of Kirkuk

Zena Ez. Dallalbashi, Northern Technical University

Department of Electronic

Technical Institute

Ahmed Burhan Mohammed, University of Kirkuk

College of Dentistry Presidency of University of Kirkuk


  1. Alsaydia, O. M., Saadallah, N. R., Malallah, F. L., AL-Adwany, M. A. S. (2021). Limiting COVID-19 infection by automatic remote face mask monitoring and detection using deep learning with IoT. Eastern-European Journal of Enterprise Technologies, 5 (2 (113)), 29–36. doi:
  2. Kadhim, K. T., Alsahlany, A. M., Wadi, S. M., Kadhum, H. T. (2020). An Overview of Patient’s Health Status Monitoring System Based on Internet of Things (IoT). Wireless Personal Communications, 114 (3), 2235–2262. doi:
  3. Samara, M. A., Bennis, I., Abouaissa, A., Lorenz, P. (2022). A Survey of Outlier Detection Techniques in IoT: Review and Classification. Journal of Sensor and Actuator Networks, 11 (1), 4. doi:
  4. Alghushairy, O., Alsini, R., Soule, T., Ma, X. (2020). A Review of Local Outlier Factor Algorithms for Outlier Detection in Big Data Streams. Big Data and Cognitive Computing, 5 (1), 1. doi:
  5. Bzai, J., Alam, F., Dhafer, A., Bojović, M., Altowaijri, S. M., Niazi, I. K., Mehmood, R. (2022). Machine Learning-Enabled Internet of Things (IoT): Data, Applications, and Industry Perspective. Electronics, 11 (17), 2676. doi:
  6. Razzak, I., Zafar, K., Imran, M., Xu, G. (2020). Randomized nonlinear one-class support vector machines with bounded loss function to detect of outliers for large scale IoT data. Future Generation Computer Systems, 112, 715–723. doi:
  7. Vani, K., Neeralagi, R. R. (2017). IoT based health monitoring using fuzzy logic. International Journal of Computational Intelligence Research, 13 (10), 2419–2429. Available at:
  8. Bharathy, A. V., Basha, A. M. (2016). A hybrid intrusion detection system cascading support vector machine and fuzzy logic. World Applied Sciences Journal, 35 (1), 104–109.
  9. Cateni, S., Colla, V., Vannucci, M. (2009). A fuzzy system for combining different outliers detection methods. 9th IASTED International Conference on Artificial Intelligence and Applications AIA 2009. Available at:
  10. Tan, F. H. S., Park, J. R., Jung, K., Lee, J. S., Kang, D.-K. (2020). Cascade of One Class Classifiers for Water Level Anomaly Detection. Electronics, 9 (6), 1012. doi:
  11. Muniyandi, A. P., Rajeswari, R., Rajaram, R. (2012). Network Anomaly Detection by Cascading K-Means Clustering and C4.5 Decision Tree algorithm. Procedia Engineering, 30, 174–182. doi:
  12. Breunig, M. M., Kriegel, H.-P., Ng, R. T., Sander, J. (2000). LOF. ACM SIGMOD Record, 29 (2), 93–104. doi:
  13. Alshawabkeh, M., Jang, B., Kaeli, D. (2010). Accelerating the local outlier factor algorithm on a GPU for intrusion detection systems. Proceedings of the 3rd Workshop on General-Purpose Computation on Graphics Processing Units. doi:
  14. Wang, Y., Li, K., Gan, S. (2018). A Kernel Connectivity-based Outlier Factor Algorithm for Rare Data Detection in a Baking Process. IFAC-PapersOnLine, 51 (18), 297–302. doi:
  15. Anguita, D., Ghio, A., Oneto, L., Parra, X., Reyes-Ortiz, J. L. (2013). A public domain dataset for human activity recognition using smartphones. In Proceedings of the 21th international European symposium on artificial neural networks, computational intelligence and machine learning. Bruges. Available at:
  16. Reiss, A., Stricker, D. (2012). Introducing a New Benchmarked Dataset for Activity Monitoring. 2012 16th International Symposium on Wearable Computers. doi:
  17. Pokrajac, D., Reljin, N., Pejcic, N., Lazarevic, A. (2008). Incremental Connectivity-Based Outlier Factor Algorithm. Electronic Workshops in Computing. doi:
  18. Jiang, S.-Y., Li, Q.-H., Li, K.-L., Wang, H., Meng, Z.-L. (2003). GLOF: a new approach for mining local outlier. Proceedings of the 2003 International Conference on Machine Learning and Cybernetics (IEEE Cat. No.03EX693). doi:
  19. Fuzzy Logic Toolbox. The MathWorks. Available at:
  20. Li, K.-L., Huang, H.-K., Tian, S.-F., Xu, W. (2003). Improving one-class SVM for anomaly detection. Proceedings of the 2003 International Conference on Machine Learning and Cybernetics (IEEE Cat. No.03EX693). doi:
  21. Xiao, Y., Wang, H., Xu, W. (2017). Ramp Loss based robust one-class SVM. Pattern Recognition Letters, 85, 15–20. doi:
  22. Anderez, D. O., Lotfi, A., Pourabdollah, A. (2020). Eating and drinking gesture spotting and recognition using a novel adaptive segmentation technique and a gesture discrepancy measure. Expert Systems with Applications, 140, 112888. doi:
  23. Yahaya, S. W., Lotfi, A., Mahmud, M. (2019). A Consensus Novelty Detection Ensemble Approach for Anomaly Detection in Activities of Daily Living. Applied Soft Computing, 83, 105613. doi:
Anomaly detection in internet of medical things with artificial intillegence




How to Cite

Hussein, S. F., Dallalbashi, Z. E., & Mohammed, A. B. (2023). Anomaly detection in internet of medical things with artificial intillegence. Eastern-European Journal of Enterprise Technologies, 1(4 (121), 56–62.



Mathematics and Cybernetics - applied aspects