In this study, seven core genes (Amacr, Cyp39a1, Echs1, Gpd2, Osbpl9, Acsl4, and Mcee) closely associated with lipid metabolism disorders in AP were systematically identified through the integration of bioinformatics and machine learning approaches. The gene discussed is GPD2; the disease is Disorder of lipid metabolism.