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 Sep 14;13(18):2952.
doi: 10.3390/diagnostics13182952.

A Machine Learning-Based Method for Detecting Liver Fibrosis

Affiliations

A Machine Learning-Based Method for Detecting Liver Fibrosis

Miguel Suárez et al. Diagnostics (Basel). .

Abstract

Cholecystectomy and Metabolic-associated steatotic liver disease (MASLD) are prevalent conditions in gastroenterology, frequently co-occurring in clinical practice. Cholecystectomy has been shown to have metabolic consequences, sharing similar pathological mechanisms with MASLD. A database of MASLD patients who underwent cholecystectomy was analysed. This study aimed to develop a tool to identify the risk of liver fibrosis after cholecystectomy. For this purpose, the extreme gradient boosting (XGB) algorithm was used to construct an effective predictive model. The factors associated with a better predictive method were platelet level, followed by dyslipidaemia and type-2 diabetes (T2DM). Compared to other ML methods, our proposed method, XGB, achieved higher accuracy values. The XGB method had the highest balanced accuracy (93.16%). XGB outperformed KNN in accuracy (93.16% vs. 84.45%) and AUC (0.92 vs. 0.84). These results demonstrate that the proposed XGB method can be used as an automatic diagnostic aid for MASLD patients based on machine-learning techniques.

Keywords: artificial intelligence; cholecystectomy; liver fibrosis; machine learning.

PubMed Disclaimer

Conflict of interest statement

The authors declare no conflict of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript; or in the decision to publish the results.

Figures

Figure 1
Figure 1
Diagram of how the machine learning method was performed.
Figure 2
Figure 2
Representation of the most important variables and their value in the predictive model. Abbreviations. FIB-4: Fibrosis-4; T2DM: Type-2 Diabetes Mellitus; BMI: Body Mass Index; HDL: High-Density Lipoprotein cholesterol.
Figure 3
Figure 3
Representation of ROC curve of all compared methods. Abbreviations. ROC: Receiver Operating Characteristic; BLDA: Bayesian Linear Discriminate Analysis; SVM: Support-Vector Machine; LR: logistic regression; DT: Decision Tree; KNN: K-Nearest Neighbour; XGB: eXtreme Gradient Boost.
Figure 4
Figure 4
Radar plot of all compared methods. The train phase is represented on the left side of the image, while the test phase is drawn on the right. Abbreviations. BLDA: Bayesian Linear Discriminate Analysis; SVM: Support-Vector Machine; LR: logistic regression; DT: Decision Tree; KNN: K-Nearest Neighbour; XGB: eXtreme Gradient Boost; AUC: Area Under the Curve; MCC: Matthews Correlation Coefficient.

References

    1. Rinella M.E., Lazarus J.V., Ratziu V., Francque S.M., Sanyal A.J., Kanwal F., Romero D., Abdelmalek M.F., Anstee Q.M., Arab J.P. A multi-society Delphi consensus statement on new fatty liver disease nomenclature. Ann. Hepatol. 2023:101133. doi: 10.1016/j.aohep.2023.101133. in press . - DOI - PubMed
    1. Odriozola A., Santos-Laso A., Del Barrio M., Cabezas J., Iruzubieta P., Arias-Loste M.T., Rivas C., Duque J.C.R., Antón Á., Fábrega E. Fatty Liver Disease, Metabolism and Alcohol Interplay: A Comprehensive Review. Int. J. Mol. Sci. 2023;24:7791. doi: 10.3390/ijms24097791. - DOI - PMC - PubMed
    1. Staufer K., Stauber R.E. Steatotic Liver Disease: Metabolic Dysfunction, Alcohol, or Both? Biomedicines. 2023;11:2108. doi: 10.3390/biomedicines11082108. - DOI - PMC - PubMed
    1. Raees A., Kamran M., Jafri W. MAFLD-Epidemiology, Natural History, Outcomes and Prevention. Eur. J. Med. Health Sci. 2021;3:12–17. doi: 10.24018/ejmed.2021.3.4.941. - DOI
    1. Lin H., Zhang X., Li G., Wong G.L.-H., Wong V.W.-S. Epidemiology and clinical outcomes of metabolic (dysfunction)-associated fatty liver disease. J. Clin. Transl. Hepatol. 2021;9:972. doi: 10.14218/JCTH.2021.00201. - DOI - PMC - PubMed

LinkOut - more resources