Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2023 Oct 6;14(1):163-171.
doi: 10.1007/s13534-023-00322-7. eCollection 2024 Jan.

Prediction of complications in diabetes mellitus using machine learning models with transplanted topic model features

Affiliations

Prediction of complications in diabetes mellitus using machine learning models with transplanted topic model features

Benedict Choonghyun Han et al. Biomed Eng Lett. .

Abstract

Purpose: This study aims to predict the progression of Diabetes Mellitus (DM) from the clinical notes through machine learning based on latent Dirichlet allocation (LDA) topic modeling. Particularly, 174,427 clinical notes of DM patients were collected from the electronic medical record (EMR) system of the Seoul National University Hospital outpatient clinic. Method: We developed a model to predict the development of DM complications. Topics developed by the topic model were exploited as the key feature of our machine-learning model. The proposed model generalized a correlation between topic structures and complications. Results: The model provided acceptable predictive performance for all four types of complications (diabetic retinopathy, diabetic nephropathy, nonalcoholic fatty liver disease, and cerebrovascular accident). Upon employing extreme gradient boosting (XGBoost), we obtained the F1 scores of the predictions for each complication type as 0.844, 0.921, 0.831, and 0.762. Conclusion: This study shows that a machine learning project based on topic modeling can effectively predict the progress of a disease. Furthermore, a unique way of topic model transplanting, which matches the dimension of the topic structures of the two data sets, is presented.

Supplementary information: The online version contains supplementary material available at 10.1007/s13534-023-00322-7.

Keywords: Diabetes Mellitus; Latent Dirichlet allocation; Machine learning; Topic modeling.

PubMed Disclaimer

Conflict of interest statement

Competing InterestsThe authors have no relevant financial or non-financial interests to disclose.

Figures

Fig. 1
Fig. 1
Basic concept of LDA [4] α: Initial parameter to Dirichlet distribution; β: parameter signifying the relations between words and topics; θ: parameter containing the relations between documents and topics; M: number of documents in a dataset; N: number of words in a document; w: words appearing in a document; Z:topic allocations to words in a document
Fig. 2
Fig. 2
Overall Workflow Preprocessing: correcting typos, part of speech (POS) tagging, composing stop words list, and replacing drug product names with ingredient names; Indexing: filling a matrix (M × V) with term frequency(TF) values; Topic Modeling: filling a matrix (M × K) with the document-topic weight values; Classification: predicting the label variable utilizing the machine learning model

Similar articles

References

    1. 2018 WHO, Diabetes. 2018. https://www.who.int/news-room/fact-sheets/detail/diabetes. Accessed November 26 2022.
    1. Thomas PB, Robertson DH, Chawla NV. Predicting onset of complications from diabetes: a graph based approach. Appl Netw Sci. 2018;3(1):48. doi: 10.1007/s41109-018-0106-z. - DOI - PMC - PubMed
    1. Ljubic B, Hai AA, Stanojevic M, Diaz W, Polimac D, Pavlovski M, Obradovic Z. Predicting complications of diabetes mellitus using advanced machine learning algorithms. J Am Med Inform Assoc. 2020;27(9):1343–51. doi: 10.1093/jamia/ocaa120. - DOI - PMC - PubMed
    1. Blei DM, Ng AY, Jordan MI. Latent dirichlet allocation. J Mach Learn Res. 2003;3:993–1022.
    1. Blei DM. Probabilistic topic models. Commun ACM. 2012;55(4):77–84. doi: 10.1145/2133806.2133826. - DOI

LinkOut - more resources