» Articles » PMID: 34829467

Machine Learning Consensus Clustering Approach for Hospitalized Patients with Dysmagnesemia

Abstract

Background: The objectives of this study were to classify patients with serum magnesium derangement on hospital admission into clusters using unsupervised machine learning approach and to evaluate the mortality risks among these distinct clusters.

Methods: Consensus cluster analysis was performed based on demographic information, principal diagnoses, comorbidities, and laboratory data in hypomagnesemia (serum magnesium ≤ 1.6 mg/dL) and hypermagnesemia cohorts (serum magnesium ≥ 2.4 mg/dL). Each cluster's key features were determined using the standardized mean difference. The associations of the clusters with hospital mortality and one-year mortality were assessed.

Results: In hypomagnesemia cohort ( = 13,320), consensus cluster analysis identified three clusters. Cluster 1 patients had the highest comorbidity burden and lowest serum magnesium. Cluster 2 patients had the youngest age, lowest comorbidity burden, and highest kidney function. Cluster 3 patients had the oldest age and lowest kidney function. Cluster 1 and cluster 3 were associated with higher hospital and one-year mortality compared to cluster 2. In hypermagnesemia cohort ( = 4671), the analysis identified two clusters. Compared to cluster 1, the key features of cluster 2 included older age, higher comorbidity burden, more hospital admissions primarily due to kidney disease, more acute kidney injury, and lower kidney function. Compared to cluster 1, cluster 2 was associated with higher hospital mortality and one-year mortality.

Conclusion: Our cluster analysis identified clinically distinct phenotypes with differing mortality risks in hospitalized patients with dysmagnesemia. Future studies are required to assess the application of this ML consensus clustering approach to care for hospitalized patients with dysmagnesemia.

Citing Articles

Incidence of Dysmagnesemia among Medically Hospitalized Patients and Associated Clinical Characteristics: A Prospective Cohort Study.

Al Shukri Z, Al-Maqbali J, Al Alawi A, Al Riyami N, Al Riyami S, Al Alawi H Int J Endocrinol. 2023; 2023:6650620.

PMID: 37829115 PMC: 10567362. DOI: 10.1155/2023/6650620.


Identification of distinct clinical phenotypes of cardiogenic shock using machine learning consensus clustering approach.

Wang L, Zhang Y, Yao R, Chen K, Xu Q, Huang R BMC Cardiovasc Disord. 2023; 23(1):426.

PMID: 37644414 PMC: 10466857. DOI: 10.1186/s12872-023-03380-y.


Association of early postoperative serum magnesium with acute kidney injury after cardiac surgery.

Xiong C, Shi S, Cao L, Wang H, Tian L, Jia Y Ren Fail. 2023; 45(1):2170244.

PMID: 36728711 PMC: 9897740. DOI: 10.1080/0886022X.2023.2170244.


Clinical Phenotypes of Dual Kidney Transplant Recipients in the United States as Identified through Machine Learning Consensus Clustering.

Tangpanithandee S, Thongprayoon C, Jadlowiec C, Mao S, Mao M, Vaitla P Medicina (Kaunas). 2022; 58(12).

PMID: 36557033 PMC: 9783488. DOI: 10.3390/medicina58121831.


Characteristics of Kidney Recipients of High Kidney Donor Profile Index Kidneys as Identified by Machine Learning Consensus Clustering.

Thongprayoon C, Radhakrishnan Y, Jadlowiec C, Mao S, Mao M, Vaitla P J Pers Med. 2022; 12(12).

PMID: 36556213 PMC: 9782675. DOI: 10.3390/jpm12121992.

References
1.
Safavi M, Honarmand A . Admission hypomagnesemia--impact on mortality or morbidity in critically ill patients. Middle East J Anaesthesiol. 2007; 19(3):645-60. View

2.
Haider D, Lindner G, Ahmad S, Sauter T, Wolzt M, Leichtle A . Hypermagnesemia is a strong independent risk factor for mortality in critically ill patients: results from a cross-sectional study. Eur J Intern Med. 2015; 26(7):504-7. DOI: 10.1016/j.ejim.2015.05.013. View

3.
Cheungpasitporn W, Thongprayoon C, Bathini T, Hansrivijit P, Vaitla P, Medaura J . Impact of admission serum magnesium levels on long-term mortality in hospitalized patients. Hosp Pract (1995). 2020; 48(2):80-85. DOI: 10.1080/21548331.2020.1724723. View

4.
Malyugin B, Sakhnov S, Izmailova S, Boiko E, Pozdeyeva N, Axenova L . Keratoconus Diagnostic and Treatment Algorithms Based on Machine-Learning Methods. Diagnostics (Basel). 2021; 11(10). PMC: 8535111. DOI: 10.3390/diagnostics11101933. View

5.
Nedyalkova M, Madurga S, Simeonov V . Combinatorial K-Means Clustering as a Machine Learning Tool Applied to Diabetes Mellitus Type 2. Int J Environ Res Public Health. 2021; 18(4). PMC: 7922378. DOI: 10.3390/ijerph18041919. View