Faculty of Computer Science and Engineering

Permanent URI for this communityhttps://repository.ukim.mk/handle/20.500.12188/5

The Faculty of Computer Science and Engineering (FCSE) within UKIM is the largest and most prestigious faculty in the field of computer science and technologies in Macedonia, and among the largest faculties in that field in the region. The FCSE teaching staff consists of 50 professors and 30 associates. These include many “best in field” personnel, such as the most referenced scientists in Macedonia and the most influential professors in the ICT industry in the Republic of Macedonia.

Browse

Search Results

Now showing 1 - 6 of 6
  • Some of the metrics are blocked by your 
    Item type:Publication,
    A New ML-based AFIB Detector
    (IEEE, 2021-11-23)
    Tudjarski, Stojancho
    ;
    Ignjatov, Tomislav
    ;
    Objectives: This paper aims to develop a model for detecting Atrial Fibrillation (AFIB) in a single-channel electrocardiogram.Methodology: The applied Machine Learning methods are XGBoost and Random Forest. Training and testing split was realized by splitting the patients 70% for training and 30% for testing. Features included annotations for heartbeats, intervals between neighboring heartbeats, Shannon entropy, and Fluctuation index by designing a moving window with predefined length.Data: Standard ECG benchmarks were used for training and testing from MIT-BIH Arrhythmia [1] and MIT-BIH Atrial Fibrillation[2] datasets.Conclusion: Experiments were done with different window sizes and different hyperparameters. The best results were achieved from the 41 Beat window, with XGBoost achieving the best performance of 99% with an F1 score of 99%.
  • Some of the metrics are blocked by your 
    Item type:Publication,
    Detecting Ventricular Beats with Machine Learning Models
    (IEEE, 2022-05-23)
    Tudjarski, Stojancho
    ;
    Stankovski, Aleksandar
    ;
    This paper aims at modeling a classifier of Ventricular heartbeats by experimenting with the most advanced classic binary classifiers in different scenarios for feature engineering. Methodology: The results were acquired based on experimenting with XGBoost and Random Forest algorithms, as two of the most advanced classifiers not based on neural networks. Although the annotated ECG data sets contain records with several heartbeat classes, we focus on a model that would distinguish V from others (Non-V heartbeats). Considering that we are dealing with a highly imbalanced data set, we applied the SMOTE algorithm for data enrichment to provide a better-balanced data set for training the model. To acquire better results, we added new calculated features, with and without feature selection. For feature selection, we used the Fisher Selector algorithm. Data: We used MIT-BIH Arrhythmia benchmark database, with train/test split according to the patient-oriented splitting approach that separates the original dataset into two subsets with approximately equal sizes and distribution of heartbeat types. Conclusion: The best results are achieved with XGBoost algorithm with original feature set. We achieved precision of 91.36%, recall of 88.31% and F1 score of 89.81%. Results showed that oversampling does not provide significantly better overall model performance. Still, we would recommend this approach since in practice, when dealing with imbalanced data sets, this leads to more robust models that perform better with data outside the training and test sets, such as when the model is used in production.
  • Some of the metrics are blocked by your 
    Item type:Publication,
    From Continuous ECG Signals to Extracted Features for Machine Learning Models and Arrhythmia Annotations
    (IEEE, 2022-11-15)
    Tudjarski, Stojancho
    ;
    Stankovski, Aleksandar
    ;
    ;
    This paper describes the process of transforming an ECG signal as a continuous stream of numbers representing measured electrical voltages between the ECG electrodes into an output indicating the existence of arrhythmia. The ECG data stream is a structured array of converted analog signal values to digital data. Although this stream uses a continuous structure of numbers within a given range that depends on the bit resolution during conversion, it is still unstructured as a representation of the appearance of arrhythmia since it does not contain information about detected arrhythmia. This paper presents how to process ECG data, detect heartbeat annotations, and calculate various parameters for tabular-based data with a fixed number of columns to be used as input into ML-based algorithms. Our use case addresses an ML algorithm to detect atrial fibrillation arrhythmia, as an irregular heart rhythm. Practically a set of numbers in the ECG samples, which do not have structured arrhythmia annotations, is transformed into structured annotations. Experiments are conducted on the well-known ECG benchmark MIT-BIH Arrhythmia Database. The input data is resampled from 360 Hz to 125 Hz signal, and a signal processing algorithm is used to detect heartbeats, extracting a fixed set of features, and systematically forwarded to the feature selection ML methodologies to obtain atrial fibrillation annotations.
  • Some of the metrics are blocked by your 
    Item type:Publication,
    Sampling Rate Impact on Heart Rate Variability
    (IEEE, 2022-11-15)
    ;
    Tudjarski, Stojancho
    ;
    Anagelevska, Ana
    We set a research question to find the impact of the sampling rate in the electrocardiograms on the calculation of the heart rate variability. Our evaluation method analyzes the heart rate variability on the MITDB electrocardiogram benchmark database originally sampled to 360 Hz. Then the electrocardiogram records are resampled to 125 Hz, and a new set of heart rate variability parameters are calculated and compared to those calculated on 360 Hz. The analysis performed on time-domain heart rate variability parameters showed that the impact of sampling frequency was large for NN50 and pNN50 parameters (up to a max value of 50%, and mean of 10%), and smaller for SDNN and RMSSD (up to a max value of 10%, and an average of 2%). In conclusion, heart rate variability needs a higher sampling frequency to reveal more precise results.
  • Some of the metrics are blocked by your 
    Item type:Publication,
    Improving Atrial Fibrillation Detection with Machine Learning Models
    (IEEE, 2025-06-02)
    Tudjarski, Stojancho
    ;
    ;
    Madevska Bogdanova, Ana
    ;
    Stankovski, Aleksandar
    In this paper, we focus on feature engineering to detect Atrial Fibrillation by determining whether the heart rhythm has irregularities without patterns. We experiment with a broad spectrum of features derived from the duration of heartbeat-to-heartbeat intervals in the benchmark electrocardiogram databases MIT-BIH Arrhythmia Database, MIT-BIH Atrial Fibrillation Database, and Long Term AF Database. The experiments included position-based features, fluctuation indices, standard deviations, mean average values, Shannon entropy, and statistical measures, such as compressed time series data length. The research questions are to detect the most influential features that result in the best-performing model and the impact of the training dataset. Our approach is to evaluate the model on a completely different dataset from the one it was trained on. Achieved F1 scores vary between 62,32% and 85.08%. The results prove that positional features increase the model's performance.
  • Some of the metrics are blocked by your 
    Item type:Publication,
    Overview of Interpretable and Explainable Artificial Intelligence for Atrial Fibrillation
    (IEEE, 2025-11-25)
    Tudjarski, Stojancho
    ;
    Angjelevska, Ana
    ;
    ;
    Madevska Bogdanova, Ana
    Accurate and interpretable detection of irregular work of the heart, such as atrial fibrillation, from electrocardiogram (ECG) signals is crucial for timely diagnosis and effective patient management. While machine learning (ML) models, particularly deep learning architectures, have achieved state-of-the-art performance in ECG arrhythmia classification, their black-box nature limits clinical adoption. This paper explores explainable artificial intelligence (XAI) techniques applicable to ML models trained on ECG data, highlighting both global and local interpretability approaches. We provide an overview of posthoc methods, including SHAP, LIME, PFI, and LIG, among others, treating various types of ECG recordings. As a practical case study, we present our findings analyzing the results of PFI and LIG methods applied to a transformer-based model fine-tuned for atrial fibrillation detection and explain its decision process. Our findings underscore the value of integrating XAI into ECG analysis pipelines to enhance transparency, foster clinician trust, and support more informed decision-making in cardiovascular diagnostics.