Overall, our study revealed a correlation between ER stress and infiltrated immune cells and determined six feature genes associated ER stress (RNF5, UBAC2, DNAJC10, RNF103, DDX3X, and NGLY1) that could accurately predict AD progression based on interpretable machine learning. This evidence concerns the gene DDX3X and Alzheimer disease.