Research Article

An Experimental Performance Evaluation of Common Data Classification Algorithms on FreeRTOS

Volume: 21 Number: 2 December 15, 2025
TR EN

An Experimental Performance Evaluation of Common Data Classification Algorithms on FreeRTOS

Abstract

The primary motivation of this research is to evaluate the cost-effectiveness of data classification algorithms—such as various Machine Learning and Neural Network methods—in safety-critical systems under real-time conditions. To achieve this, traditional data classification algorithms were modularized, with each component assigned to a specific thread within a Real-Time Operating System (RTOS). The algorithms were trained and tested using K-fold cross-validation on four medium-sized kaggle datasets. The real-time application was developed on FreeRTOS using the C++20 programming language. Experiments were simulated both on the FreeRTOS platform and on a Linux platform equipped with an ARM Cortex-M4 processor. The algorithms were employed to ensure secure data communication, and the output results were captured in a confusion matrix generated by FreeRTOS. Performance metrics for all algorithms are presented in tables and graphs. Among them, the Naive Bayes algorithm emerged as the most suitable for real-time applications, delivering results that were 13 times faster and more accurate than the next best algorithm. Notably, even when the number of decision trees in the Random Forest algorithm was limited to five, performance metrics showed no significant degradation. The approach adopted in this study demonstrates promising potential for analyzing data classification through schedulability analysis. It also enables effective real-time comparisons between different classification algorithms.

Keywords

References

  1. Ampomah, E. K., Nyame, G., Qin, Z., Addo, P. C., Gyamfi, E. O., & Gyan, M. (2021). Stock market prediction with gaussian naïve bayes machine learning algorithm. Informatica, 45(2).
  2. Armano, G., & Manconi, A. (2023). Devising novel performance measures for assessing the behavior of multilayer perceptrons trained on regression tasks. Plos one, 18(5), e0285471.
  3. Bastide, R., Navarre, D., Palanque, P., Schyn, A., & Dragicevic, P. (2004, October). A model-based approach for real-time embedded multimodal systems in military aircrafts. In Proceedings of the 6th international conference on Multimodal interfaces (pp. 243-250).
  4. Blanc, G., Lange, J., Qiao, M., & Tan, L. Y. (2022). Properly learning decision trees in almost polynomial time. Journal of the ACM, 69(6), 1-19.
  5. Carvalho, D. V., Pereira, E. M., & Cardoso, J. S. (2019). Machine learning interpretability: A survey on methods and metrics. Electronics, 8(8), 832.
  6. Clements, A. A., Almakhdhub, N. S., Saab, K. S., Srivastava, P., Koo, J., Bagchi, S., & Payer, M. (2017, May). Protecting bare-metal embedded systems with privilege overlays. In 2017 IEEE Symposium on Security and Privacy (SP) (pp. 289-303). IEEE.
  7. Demirezen, M. U., Civrizoğlu, A., & Yavanoğlu, U. (2021). Sualtı objelerinin makine öğrenmesi yöntemleri ile tespitinde zaman serisi-görüntü dönüşümü tabanlı yeni yaklaşımlar. Gazi Üniversitesi Mühendislik Mimarlık Fakültesi Dergisi, 36(3), 1399-1416.
  8. Dwivedi, U. K., Kumar, A., & Sekimoto, Y. (2023). Real-time classification of longitudinal conveyor belt cracks with deep-learning approach. PloS one, 18(7), e0284788.

Details

Primary Language

English

Subjects

Embedded Systems

Journal Section

Research Article

Early Pub Date

November 24, 2025

Publication Date

December 15, 2025

Submission Date

September 23, 2025

Acceptance Date

October 31, 2025

Published in Issue

Year 2025 Volume: 21 Number: 2

APA
Kılıç, Y. F., & Uygur, A. (2025). An Experimental Performance Evaluation of Common Data Classification Algorithms on FreeRTOS. Journal of Naval Sciences and Engineering, 21(2), 249-273. https://doi.org/10.56850/jnse.1789188
AMA
1.Kılıç YF, Uygur A. An Experimental Performance Evaluation of Common Data Classification Algorithms on FreeRTOS. JNSE. 2025;21(2):249-273. doi:10.56850/jnse.1789188
Chicago
Kılıç, Yusuf Furkan, and Atilla Uygur. 2025. “An Experimental Performance Evaluation of Common Data Classification Algorithms on FreeRTOS”. Journal of Naval Sciences and Engineering 21 (2): 249-73. https://doi.org/10.56850/jnse.1789188.
EndNote
Kılıç YF, Uygur A (December 1, 2025) An Experimental Performance Evaluation of Common Data Classification Algorithms on FreeRTOS. Journal of Naval Sciences and Engineering 21 2 249–273.
IEEE
[1]Y. F. Kılıç and A. Uygur, “An Experimental Performance Evaluation of Common Data Classification Algorithms on FreeRTOS”, JNSE, vol. 21, no. 2, pp. 249–273, Dec. 2025, doi: 10.56850/jnse.1789188.
ISNAD
Kılıç, Yusuf Furkan - Uygur, Atilla. “An Experimental Performance Evaluation of Common Data Classification Algorithms on FreeRTOS”. Journal of Naval Sciences and Engineering 21/2 (December 1, 2025): 249-273. https://doi.org/10.56850/jnse.1789188.
JAMA
1.Kılıç YF, Uygur A. An Experimental Performance Evaluation of Common Data Classification Algorithms on FreeRTOS. JNSE. 2025;21:249–273.
MLA
Kılıç, Yusuf Furkan, and Atilla Uygur. “An Experimental Performance Evaluation of Common Data Classification Algorithms on FreeRTOS”. Journal of Naval Sciences and Engineering, vol. 21, no. 2, Dec. 2025, pp. 249-73, doi:10.56850/jnse.1789188.
Vancouver
1.Yusuf Furkan Kılıç, Atilla Uygur. An Experimental Performance Evaluation of Common Data Classification Algorithms on FreeRTOS. JNSE. 2025 Dec. 1;21(2):249-73. doi:10.56850/jnse.1789188