Bu araştırmanın temel motivasyonu, çeşitli Makine Öğrenimi ve Sinir Ağı algoritmaları gibi veri sınıflandırma algoritmalarının gerçek zamanlı senaryolar özelinde hayati kritik (safety critical) sistemlerde maliyet-etkinliğini değerlendirmektir. Bunun gerçekleştirilmesi için geleneksel veri sınıflandırma algoritmaları ayrı parçalara bölünmüş ve her bir parça Gerçek Zamanlı İşletim Sistemi'nin (RTOS) belirli bir iş parçacığına (thread) atanmıştır. Algoritmalar, dört farklı orta büyüklükteki kaggle veri kümesinde K katlı çapraz doğrulama kullanılarak eğitilmiş ve test edilmiştir. Gerçek zamanlı uygulama, C++ 20 programlama dili kullanılarak FreeRTOS üzerinde gerçekleştirilmiştir. Deney, ARM Cortex M4 işlemcili FreeRTOS platformu ve Linux platformu üzerinden simüle edilmiştir. Güvenli veri haberleşmesini sağlamak adına algoritmalardan faydalanılmıştır. Çıktılar, FreeRTOS tarafından bir karışıklık matrisinde (confusion matrix) toplanmıştır. Tüm algoritmalara ait performanslar değerleri tablolar ve grafiklerle sunulmuş olup, Naif Bayes algoritması ona en yakın algoritmadan 13 kat daha hızlı ve daha doğru sonuç vererek gerçek zamanlı uygulamalar için ideal bir algoritma olarak belirtilmiştir. Rastgele Orman algoritması parametrelerinden biri olan tahmin edici karar ağacı sayısı 5 seçilmesine rağmen performans metriklerinde yetersizlik görülmediği sunulmuştur. Bu çalışmada benimsenen yaklaşım, planlanabilir analiz temelinde veri sınıflandırmasını analiz etmek için umut vadeden potansiyele sahiptir. Ayrıca, farklı veri sınıflandırma algoritmalarının gerçek zamanlı olarak karşılaştırılmasını mümkün kılmaktadır.
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.
| Primary Language | English |
|---|---|
| Subjects | Embedded Systems |
| Journal Section | Research Article |
| Authors | |
| Submission Date | September 23, 2025 |
| Acceptance Date | October 31, 2025 |
| Early Pub Date | November 24, 2025 |
| Publication Date | December 15, 2025 |
| Published in Issue | Year 2025 Volume: 21 Issue: 2 |