SSShadi Sartipi

Shadi Sartipi

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article


Shadi Sartipi has a total of 35 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Automated extraction of seizures and ictal-interictal continuum patterns from EEG reports to enable large-scale neurophysiology and neurocritical care research

    by Shadi Sartipi, Deena S. Godfrey, Alexandra-Maria Tauțan, Marta P. Fernandes, Manohar Ghanta, Aditya Gupta, Bruce Nearing, Jennifer Kim, Aaron F. Struck, Tobias Loddenkemper, et al.

  • Open Access

    A Machine Learning Approach for Identifying People With Neuroinfectious Diseases in Electronic Health Records: Algorithm Development and Validation

    by Arjun Singh, Shadi Sartipi, Haoqi Sun, Rebecca Milde, Niels Turley, Carson Quinn, G Kyle Harrold, Rebecca L Gillani, Sarah E Turbett, Sudeshna Das, et al.

    Background: Identifying neuroinfectious disease (NID) cases using International Classification of Diseases billing codes is often imprecise, while manual chart reviews are labor-intensive. Machine learning models can leverage unstructured electronic health records to detect subtle NID indicators, process large data volumes efficiently, and reduce misclassification. While accurate NID classification is needed for research and clinical decision support, using unstructured notes for this purpose remains underexplored. Objective: The objective of this study is to develop and validate a machine learning model to identify NIDs from unstructured patient notes. Methods: Clinical notes from patients who had undergone lumbar puncture were obtained using the electronic health record of an academic hospital network (Mass General Brigham [MGB]), with half associated with NID-related diagnostic codes. Ground truth was established by chart review with 6 NID-expert physicians. NID keywords were generated with regular expressions, and extracted texts were converted into bag-of-words representations using n-grams (n=1, 2, 3). Notes were randomly split into training (80%), 2400 notes out of 3000, and hold-out testing (20%), 600 notes out of 3000, sets. Feature selection was performed using logistic regression with L1 regularization. An extreme gradient boosting (XGBoost) model classified NID cases, and performance was evaluated using the area under the receiver operating curve (AUROC) and the precision-recall curve (AUPRC). The performance of the natural language processing (NLP) model was contrasted with the Llama 3.2 auto-regressive model on the MGB test set. The NLP model was additionally validated on external data from an independent hospital (Beth Israel Deaconess Medical Center [BIDMC]). Results: This study included 3000 patient notes from MGB from January 22, 2010, to September 21, 2023. Of 1284 initial n-gram features, 342 were selected, with the most significant features being “meningitis,” “ventriculitis,” and “meningoencephalitis.” The XGBoost model achieved an AUROC of 0.98 (95% CI 0.96‐0.99) and AUPRC of 0.89 (95% CI 0.83‐0.94) on MGB test data. In comparison, NID identification using International Classification of Diseases billing codes showed high sensitivity (0.97) but poor specificity (0.59), overestimating NID cases. Llama 3.2 improved specificity (0.94) but had low sensitivity (0.64) and an AUROC of 0.80. In contrast, our NLP model balanced specificity (0.96) and sensitivity (0.84), outperforming both methods in accuracy and reliability on MGB data. When tested on external data from BIDMC, the NLP model maintained an AUROC of 0.98 (95% CI 0.96‐0.99), with an AUPRC of 0.78 (95% CI 0.66‐0.89). Conclusions: The NLP model accurately identifies NID cases from clinical notes. Validated across 2 independent hospital datasets, the model demonstrates feasibility for large-scale NID research and cohort generation. With further external validation, our results could be more generalizable to other institutions.


  • Open Access

    Automated estimation of frequency and spatial extent of periodic and rhythmic epileptiform activity from continuous electroencephalography data

    by Alexandra-Maria Tăuţan, Jin Jing, Lara Basovic, Peter N. Hadar, Shadi Sartipi, Marta Bento Fernandes, Jennifer A. Kim, Aaron F. Struck, Michael Brandon Westover, Sahar F. Zafar

    Background and purpose Rhythmic and periodic patterns (RPP) are harmful brain activity observed on continuous electroencephalography (cEEG) recordings of critically ill patients. The presence of RPPs at higher frequencies and on a larger scalp area (spatial extent) are associated with a higher probability of poor outcomes. This work describes automatic methods for detection of the frequency and spatial extent of specific RPPs: lateralized and generalized rhythmic delta activity (LRDA, GRDA) and lateralized and generalized periodic discharges (LPD, GPD). Methods The frequency and spatial extent of RPPs is estimated using signal processing techniques combined with rule-based logic. The validation of the algorithms was performed on a total of 1087 cEEG segments. The annotations of three expert neurophysiologists for event frequency and spatial extent were considered the gold standard for the evaluation of the algorithm output. The inter-rater reliability (IRR) is evaluated for the assessment of performance. Results The selected algorithms match or exceed the agreement of experts on the frequency and spatial extent of RPP segments. RDA1b-FFT (Fast Fourier Transform), the best algorithm for rhythmic delta activity, showed an expert-algorithm IRR ranging from a good to excellent intra-class correlation coefficient (ICC) of 66-96%, whereas the expert-expert IRR ranged from 60-92%. The best algorithm for periodic discharges, PD2a, showed an expert-algorithm IRR ranging from ICC of 13-80%, whereas the expert-expert IRR ranged from 13-86%. Conclusions The proposed algorithms for estimating frequency and spatial extent of rhythmic and periodic patterns match expert performance and are a viable tool for large-scale cEEG analysis. Highlights Rhythmic and periodic epileptiform activity are harmful electroencephalographic (EEG) patterns observed in critically ill patients and are associated with poorer outcomes particularly at higher frequencies and spatial extent Automatic estimation of frequency and spatial extent would allow large scale EEG studies linking physiological patterns to treatments and outcomes We developed algorithms for the automatic quantification of frequency and spatial extent of epileptiform activity that match the performance of human annotators

  • LG-Sleep: Local and Global Temporal Dependencies for Mice Sleep Scoring

    by Shadi Sartipi, Mie Andersen, Natalie Hauglund, Celia Kjaerby, Verena Untiet, Maiken Nedergaard, Mujdat Cetin

    Efficiently identifying sleep stages is crucial for unraveling the intricacies of sleep in both preclinical and clinical research. The labor-intensive nature of manual sleep scoring, demanding substantial expertise, has prompted a surge of interest in automated alternatives. Sleep studies in mice play a significant role in understanding sleep patterns and disorders and underscore the need for robust scoring methodologies. In response, this letter introduces LG-Sleep, a novel subject-independent deep neural network architecture designed for mice sleep scoring through electroencephalogram (EEG) signals. LG-Sleep extracts local and global temporal transitions within EEG signals to categorize sleep data into three stages: wake, rapid eye movement (REM) sleep, and non-REM sleep. The model leverages local and global temporal information by employing time-distributed convolutional neural networks to discern local temporal transitions in EEG data. Subsequently, features derived from the convolutional filters traverse long short-term memory blocks, capturing global transitions over extended periods. Crucially, the model is optimized in an autoencoder–decoder fashion, facilitating generalization across distinct subjects and adapting to limited training samples. Experimental findings demonstrate superior performance of LG-Sleep compared to conventional deep neural networks. Moreover, the model exhibits good performance across different sleep stages even when tasked with scoring based on limited training samples.


  • Open Access

    Subject-Independent Deep Architecture for EEG-Based Motor Imagery Classification

    by Shadi Sartipi, Mujdat Cetin

    Motor imagery (MI) classification based on electroencephalogram (EEG) is a widely-used technique in non-invasive brain-computer interface (BCI) systems. Since EEG recordings suffer from heterogeneity across subjects and labeled data insufficiency, designing a classifier that performs the MI independently from the subject with limited labeled samples would be desirable. To overcome these limitations, we propose a novel subject-independent semi-supervised deep architecture (SSDA). The proposed SSDA consists of two parts: an unsupervised and a supervised element. The training set contains both labeled and unlabeled data samples from multiple subjects. First, the unsupervised part, known as the columnar spatiotemporal auto-encoder (CST-AE), extracts latent features from all the training samples by maximizing the similarity between the original and reconstructed data. A dimensional scaling approach is employed to reduce the dimensionality of the representations while preserving their discriminability. Second, a supervised part learns a classifier based on the labeled training samples using the latent features acquired in the unsupervised part. Moreover, we employ center loss in the supervised part to minimize the embedding space distance of each point in a class to its center. The model optimizes both parts of the network in an end-to-end fashion. The performance of the proposed SSDA is evaluated on test subjects who were not seen by the model during the training phase. To assess the performance, we use two benchmark EEG-based MI task datasets. The results demonstrate that SSDA outperforms state-of-the-art methods and that a small number of labeled training samples can be sufficient for strong classification performance.


  • A Hybrid End-to-End Spatiotemporal Attention Neural Network With Graph-Smooth Signals for EEG Emotion Recognition

    by Shadi Sartipi, Mastaneh Torkamani-Azar, Mujdat Cetin

    Recently, physiological data such as electroencephalography (EEG) signals have attracted significant attention in affective computing. In this context, the main goal is to design an automated model that can assess emotional states. Lately, deep neural networks have shown promising performance in emotion recognition tasks. However, designing a deep architecture that can extract practical information from raw data is still a challenge. Here, we introduce a deep neural network that acquires interpretable physiological representations by a hybrid structure of spatio-temporal encoding and recurrent attention network blocks. Furthermore, a preprocessing step is applied to the raw data using graph signal processing tools to perform graph smoothing in the spatial domain. We demonstrate that our proposed architecture exceeds state-of-the-art results for emotion classification on the publicly available DEAP dataset. To explore the generality of the learned model, we also evaluate the performance of our architecture towards transfer learning (TL) by transferring the model parameters from a specific source to other target domains. Using DEAP as the source dataset, we demonstrate the effectiveness of our model in performing cross-modality TL and improving emotion classification accuracy on DREAMER and the Emotional English Word (EEWD) datasets, which involve EEG-based emotion classification tasks with different stimuli.