Receiver operating characteristic curve and Precision-Recall curve of nine models. Outcomes of all the patients: in-hospital mortality (a–c), re-admission within 30 days after discharge (d–f), and mortality within 180 days after discharge (g–i). XGBoost, eXtreme Gradient Boosting; LightBGM, Light Gradient Boosting Machine; AdaBoost, Adaptive Boosting; GBDT, Gradient Boosting Decision Tree; GNB, Gaussian Naive Bayes; MLP, Multi-Layer Perceptron; SVM, Support Vector Machine.