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. Here, NGLY1 is linked to Alzheimer disease.