A prognosis model was established using machine learning with python.



python
The results from the machine learning gbm algorithm showed that the most important factors, ranked from first to fifth, were: preoperative aspartate aminotransferase (GOT), preoperative AFP, preoperative cereal third transaminase (GPT), preoperative total bilirubin, and LC3.  Postoperative death model results for liver cancer patients in the test group: of the 5 algorithm models, the highest accuracy rate was that of forest (0.739), followed by the gbm algorithm (0.714); of the 5 algorithms, the AUC values, from high to low, were forest (0.803), GradientBoosting (0.746), gbm (0.724), Logistic (0.660) and DecisionTree (0.578).



gbm algorithm
Postoperative death model results for liver cancer patients in the test group: of the 5 algorithm models, the highest accuracy rate was that of forest (0.739), followed by the gbm algorithm (0.714); of the 5 algorithms, the AUC values, from high to low, were forest (0.803), GradientBoosting (0.746), gbm (0.724), Logistic (0.660) and DecisionTree (0.578).



forest
Postoperative death model results for liver cancer patients in the test group: of the 5 algorithm models, the highest accuracy rate was that of forest (0.739), followed by the gbm algorithm (0.714); of the 5 algorithms, the AUC values, from high to low, were forest (0.803), GradientBoosting (0.746), gbm (0.724), Logistic (0.660) and DecisionTree (0.578).



GradientBoosting
Postoperative death model results for liver cancer patients in the test group: of the 5 algorithm models, the highest accuracy rate was that of forest (0.739), followed by the gbm algorithm (0.714); of the 5 algorithms, the AUC values, from high to low, were forest (0.803), GradientBoosting (0.746), gbm (0.724), Logistic (0.660) and DecisionTree (0.578).



Logistic
Postoperative death model results for liver cancer patients in the test group: of the 5 algorithm models, the highest accuracy rate was that of forest (0.739), followed by the gbm algorithm (0.714); of the 5 algorithms, the AUC values, from high to low, were forest (0.803), GradientBoosting (0.746), gbm (0.724), Logistic (0.660) and DecisionTree (0.578).



DecisionTree