Left ventricular ejection fraction (LVEF) is suboptimal as a sole marker for predicting sudden cardiac death (SCD). Machine learning (ML) provides new opportunities for personalized predictions using complex, multimodal data. This study aimed to determine if risk stratification for implantable cardioverter-defibrillator (ICD) implantation can be improved by ML models that combine clinical variables with 12-lead electrocardiograms (ECG) time-series features. A multicentre study of 1010 patients (64.9 ± 10.8 years, 26.8% female) with ischaemic, dilated, or non-ischaemic cardiomyopathy, and LVEF ≤ 35% implanted with an ICD between 2007 and 2021 for primary prevention of SCD in two academic hospitals was performed. For each patient, a raw 12-lead, 10-s ECG was obtained within 90 days before ICD implantation, and clinical details were collected. Supervised ML models were trained and validated on a development cohort (n = 550) from Hospital A to predict ICD non-arrhythmic mortality at three-year follow-up (i.e. mortality without prior appropriate ICD-therapy). Model performance was evaluated on an external patient cohort from Hospital B (n = 460). At three-year follow-up, 16.0% of patients had died, with 72.8% meeting criteria for non-arrhythmic mortality. Extreme gradient boosting models identified patients with non-arrhythmic mortality with an area under the receiver operating characteristic curve (AUROC) of 0.90 [95% confidence intervals (CI) 0.80–1.00] during internal validation. In the external cohort, the AUROC was 0.79 (95% CI 0.75–0.84). ML models combining ECG time-series features and clinical variables were able to predict non-arrhythmic mortality within three years after device implantation in a primary prevention population, with robust performance in an independent cohort.
Objective Tricuspid regurgitation (TR) is a prevalent valve disease associated with significant morbidity and mortality. We aimed to apply machine learning (ML) to assess risk stratification in patients with ≥moderate TR. Methods Patients with ≥moderate TR on echocardiogram between January 2005 and December 2016 were retrospectively included. We used 70% of data to train ML-based survival models including 27 clinical and echocardiographic features to predict mortality over a 3-year period on an independent test set (30%). To account for differences in baseline comorbidities, prediction was performed in groups stratified by increasing Charlson Comorbidity Index (CCI). Permutation feature importance was calculated using the best-performing model separately in these groups. Results Of 13 312 patients, mean age 72 ± 13 years and 7406 (55%) women, 7409 (56%) had moderate, 2646 (20%) had moderate–severe and 3257 (24%) had severe TR. The overall performance for 1-year mortality by 3 ML models was good, c-statistic 0.74–0.75. Interestingly, performance varied between CCI groups, (c-statistic = 0.774 in lowest CCI group and 0.661 in highest CCI group). The performance decreased over 3-year follow-up (average c-index 0.78). Furthermore, the top 10 features contributing to these predictions varied slightly with the CCI group, the top features included heart rate, right ventricular systolic pressure, blood pressure, diuretic use and age. Conclusions Machine learning of common clinical and echocardiographic features can evaluate mortality risk in patients with TR. Further refinement of models and validation in prospective studies are needed before incorporation into the clinical practice.
There is a clinical spectrum for atrial tachyarrhythmias wherein most patients with atrial tachycardia (AT) and some with atrial fibrillation (AF) respond to ablation, while others do not. It is undefined if this clinical spectrum has pathophysiological signatures. This study aims to test the hypothesis that the size of spatial regions showing repetitive synchronized electrogram (EGM) shapes over time reveals a spectrum from AT, to AF patients who respond acutely to ablation, to AF patients without acute response. We studied n = 160 patients (35% women, 65.0 ± 10.4 years) of whom (i) n = 75 had AF terminated by ablation propensity matched to (ii) n = 75 without AF termination and (iii) n = 10 with AT. All patients had mapping by 64-pole baskets to identify areas of repetitive activity (REACT) to correlate unipolar EGMs in shape over time. Synchronized regions (REACT) were largest in AT, smaller in AF termination, and smallest in non-termination cohorts (0.63 ± 0.15, 0.37 ± 0.22, and 0.22 ± 0.18, P < 0.001). Area under the curve for predicting AF termination in hold-out cohorts was 0.72 ± 0.03. Simulations showed that lower REACT represented greater variability in clinical EGM timing and shape. Unsupervised machine learning of REACT and extensive (50) clinical variables yielded four clusters of increasing risk for AF termination (P < 0.01, χ2), which were more predictive than clinical profiles alone (P < 0.001). The area of synchronized EGMs within the atrium reveals a spectrum of clinical response in atrial tachyarrhythmias. These fundamental EGM properties, which do not reflect any predetermined mechanism or mapping technology, predict outcome and offer a platform to compare mapping tools and mechanisms between AF patient groups.
1 January 2025 in Circulation: Arrhythmia and Electrophysiology
BACKGROUND: Large language models (LLMs) such as Chat Generative Pre-trained Transformer (ChatGPT) excel at interpreting unstructured data from public sources, yet are limited when responding to queries on private repositories, such as electronic health records (EHRs). We hypothesized that prompt engineering could enhance the accuracy of LLMs for interpreting EHR data without requiring domain knowledge, thus expanding their utility for patients and personalized diagnostics. METHODS: We designed and systematically tested prompt engineering techniques to improve the ability of LLMs to interpret EHRs for nuanced diagnostic questions, referenced to a panel of medical experts. In 490 full-text EHR notes from 125 patients with prior life-threatening heart rhythm disorders, we asked GPT-4-turbo to identify recurrent arrhythmias distinct from prior events and tested 220 563 queries. To provide context, results were compared with rule-based natural language processing and Bidirectional Encoder Representations from Transformer-based language models. Experiments were repeated for 2 additional LLMs. RESULTS: In an independent hold-out set of 389 notes, GPT-4-turbo had a balanced accuracy of 64.3%±4.7% out-of-the-box at baseline. This increased when asking GPT-4-turbo to provide a rationale for its answers, a structured data output, and in-context exemplars, to a balanced accuracy of 91.4%±3.8% ( P <0.05). This surpassed the traditional logic-based natural language processing and BERT-based models ( P <0.05). Results were consistent for GPT-3.5-turbo and Jurassic-2 LLMs. CONCLUSIONS: The use of prompt engineering strategies enables LLMs to identify clinical end points from EHRs with an accuracy that surpassed natural language processing and approximated experts, yet without the need for expert knowledge. These approaches could be applied to LLM queries for other domains, to facilitate automated analysis of nuanced data sets with high accuracy by nonexperts.
1 December 2019 in Indian Journal of Medical Research
Background & objectives: Tumour budding is a feature of epithelial-to-mesenchymal transformation that is characterized histologically within the tumour stroma by the presence of isolated cells or clusters of less than five cells which are different from the other malignant cells. This could be present around the invasive margin of the tumour, called peritumoural budding, or in the bulk of the tumour, called intratumoural budding. The aim of this study was to assess the predictive power of tumour budding for lymph node metastasis and its relationship with other features of tumour progression in colorectal carcinoma (CRC). Methods: Preoperative colonoscopic biopsies and consecutive resection specimens from 80 patients of colorectal cancer were taken. In the biopsy, intratumoural budding was looked for and graded. In the resection, peritumoural budding was seen and graded along with other features such as grade of the tumour, lymphovascular emboli and tumour border configuration. Results: Intratumoural budding was seen in 23 per cent (18/80) and peritumoural in 52 per cent (42/80) of cases. Intratumoural budding was associated with the presence of lymphovascular emboli (P=0.002) and irregular tumour border configuration (P=0.004). Peritumoural budding was also significantly associated with the presence of lymphovascular emboli and irregular margins (P<0.001). Both intra- and peritumoural budding were not associated with the grade of the tumour. Both intra- and peritumoural budding had a significant association with lymph node metastasis (LNM) (P<0.001). Interpretation & conclusions: Our findings indicate that tumour budding in preoperative biopsy and resection specimens may predict a possibility of finding LNM in patients with CRC.