Machine learning algorithms confirmed that KRAS gene mutation, hyperlipidaemia, and pancreatitis are potential risk factors for pancreatic cancer. This evidence concerns the gene KRAS and hyperlipidemia.