Mohammadreza Safari

Mr. Mohammadreza Safari

Department of Electronics, Information and Bioengineering, Politecnico di Milano, Milan, Lombardy, Italy
orcid

Research Focus & Metrics

Academic Career Length

8Years (2019-Present)

(Calculated once Scilit publication data is synced: current year − year of first publication + 1)

Representative Publications

View All Publications
21 April 2024 in Scientific Reports
Verified
Journal Article
Open access
PDF file
Mohammadreza SafariMohammadreza Safari
Mohammadreza Safari
RSReza Shalbaf
Reza Shalbaf
SBSara Bagherzadeh
Sara Bagherzadeh
ASAhmad Shalbaf
Ahmad Shalbaf
Mental workload refers to the cognitive effort required to perform tasks, and it is an important factor in various fields, including system design, clinical medicine, and industrial applications. In this paper, we propose innovative methods to assess mental workload from EEG data that use effective brain connectivity for the purpose of extracting features, a hierarchical feature selection algorithm to select the most significant features, and finally machine learning models. We have used the Simultaneous Task EEG Workload (STEW) dataset, an open-access collection of raw EEG data from 48 subjects. We extracted brain-effective connectivities by the direct directed transfer function and then selected the top 30 connectivities for each standard frequency band. Then we applied three feature selection algorithms (forward feature selection, Relief-F, and minimum-redundancy-maximum-relevance) on the top 150 features from all frequencies. Finally, we applied sevenfold cross-validation on four machine learning models (support vector machine (SVM), linear discriminant analysis, random forest, and decision tree). The results revealed that SVM as the machine learning model and forward feature selection as the feature selection method work better than others and could classify the mental workload levels with accuracy equal to 89.53% (± 1.36).

31 July 2024 in Computer Methods in Biomechanics and Biomedical Engineering
Verified
Journal Article
Closed access
Mohammadreza SafariMohammadreza Safari
Mohammadreza Safari
RSReza Shalbaf
Reza Shalbaf
SBSara Bagherzadeh
Sara Bagherzadeh
ASAhmad Shalbaf
Ahmad Shalbaf
Estimation of mental workload from electroencephalogram (EEG) signals aims to accurately measure the cognitive demands placed on an individual during multitasking mental activities. By analyzing the brain activity of the subject, we can determine the level of mental effort required to perform a task and optimize the workload to prevent cognitive overload or underload. This information can be used to enhance performance and productivity in various fields such as healthcare, education, and aviation. In this paper, we propose a method that uses EEG and deep neural networks to estimate the mental workload of human subjects during multitasking mental activities. Notably, our proposed method employs subject-independent classification. We use the "STEW" dataset, which consists of two tasks, namely "No task" and "simultaneous capacity (SIMKAP)-based multitasking activity". We estimate the different workload levels of two tasks using a composite framework consisting of brain connectivity and deep neural networks. After the initial preprocessing of EEG signals, an analysis of the relationships between the 14 EEG channels is conducted to evaluate effective brain connectivity. This assessment illustrates the information flow between various brain regions, utilizing the direct Directed Transfer Function (dDTF) method. Then, we propose a deep hybrid model based on pre-trained Convolutional Neural Networks (CNN) and Long Short-Term Memory (LSTM) for the classification of workload levels. The accuracy of the proposed deep model achieved 83.12% according to the subject-independent leave-subject-out (LSO) approach. The pre-trained CNN + LSTM approaches to EEG data have been found to be an accurate method for assessing the mental workload.

22 July 2019 in Scientia Iranica
Verified
Journal Article
Open access
PDF file
MMMohammad Mohammad-Yari
Mohammad Mohammad-Yari
Mohammadreza SafariMohammadreza Safari
Mohammadreza Safari
RARamin Alipour-Sarabi
Ramin Alipour-Sarabi
ZNZ. Nasiri-Gheidari
Z. Nasiri-Gheidari
FTFarid Tootoonchian
Farid Tootoonchian
Wound-rotor (WR) resolvers are the most commercially used resolvers in industrial applications. In this paper, the effect of different winding arrangements on the accuracy of WR resolvers is discussed. Three windings are proposed for the stator of the resolver that are involved on-tooth overlapping winding, distributed lap winding and distributed concentric winding. Those windings are also applied to the rotor. All the rotor windings are assumed to be single phase and two-phase. Therefore, the effect of damper winding is also studied in the paper. The analysis is done using time stepping finite element method and the most accurate resolver is built and tested. Close agreement between the experimental measurements and the finite element results confirms the obtained results. Scientia Iranica (SCI)

8 May 2026 in Sensors
Verified
Journal Article
Open access
PDF file
Mohammadreza SafariMohammadreza Safari
Mohammadreza Safari
MGMaryam Ghahramani
Maryam Ghahramani
RRRaul Fernandez Rojas
Raul Fernandez Rojas
Accurate pain assessment remains challenging, because pain is subjective, and common clinical tools rely on self-report or observation. Functional near-infrared spectroscopy (fNIRS) provides a non-invasive window into cortical haemodynamics and shows promise for objective pain assessment. In this study, we propose a subject-independent framework that models pain states using functional and effective connectivity features derived from fNIRS signals. Using the AI4PAIN dataset (65 participants, 24 channels), we extracted correlation, partial correlation, coherence, and Granger causality matrices from haemodynamic signals (HbO2, HHb, and HbT), yielding a comprehensive connectivity feature space. A three-class classification task (No Pain vs. Low Pain vs. High Pain) was evaluated using leave-one-subject-out (LOSO) cross-validation. Within each training fold, we standardised features and applied mutual-information-based feature selection; a systematic sweep showed that a reduced feature set of 700 connectivity features achieves performance comparable to the full 1380 features and constitutes the minimum configuration at which High Pain instances begin to be detected (High Pain recall ≈ 50%), whereas smaller feature sets produce near-zero High Pain recall. The proposed framework achieved best accuracy of 69.6%, with HHb achieving the highest accuracy (69.6%), followed by HbT and HbO2. Analysis of frequently selected features revealed a predominance of directed Granger-causality connections, indicating stable and interpretable connectivity patterns associated with pain processing. These findings demonstrate the feasibility of connectivity-based subject-independent pain assessment and highlight the potential of fNIRS for objective clinical pain monitoring.