KRAS and pancreatitis: Both logistic regression and machine learning algorithms confirmed that KRAS gene mutation, hyperlipidaemia and pancreatitis are potential risk factors for pancreatic cancer.