BackgroundChemotherapy enhances survival rates for pancreatic cancer (PC) patients postsurgery, yet less than 60% complete adjuvant therapy, with a smaller fraction undergoing neoadjuvant treatment. Our study aimed to predict which patients would complete pre‐ or postoperative chemotherapy through machine learning (ML).MethodsPatients with resectable PC identified in our institutional pancreas database were grouped into two categories: those who completed all intended treatments (i.e., surgery plus either neoadjuvant or adjuvant chemotherapy), and those who did not. We applied logistic regression with lasso penalization and an extreme gradient boosting model for prediction, and further examined it through bootstrapping for sensitivity.ResultsAmong 208 patients, the median age was 69, with 49.5% female and 62% white participants. Most had an Eastern Cooperative Oncology Group (ECOG) performance status of ≤2. The PC predominantly affected the pancreatic head. Neoadjuvant and adjuvant chemotherapies were received by 26% and 47.1%, respectively, but only 49% completed all treatments. Incomplete therapy was correlated with older age and lower ECOG status. Negative prognostic factors included worsening diabetes, age, congestive heart failure, high body mass index, family history of PC, initial bilirubin levels, and tumor location in the pancreatic head. The models also flagged other factors, such as jaundice and specific cancer markers, impacting treatment completion. The predictive accuracy (area under the receiver operating characteristic curve) was 0.67 for both models, with performance expected to improve with larger datasets.ConclusionsOur findings underscore the potential of ML to forecast PC treatment completion, highlighting the importance of specific preoperative factors. Increasing data volumes may enhance predictive accuracy, offering valuable insights for personalized patient strategies.