In addition, through the machine learning models containing decision tree, random forest, naïve bayes, and support vector machine models, screening of important variables on CC prognosis, we finally determined that ZBTB32 and CENPS were the main elements affecting CC OS, while PALB2 and BRCA2 were for RFS. The gene discussed is PALB2; the disease is cholangiocarcinoma.