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. The gene discussed is RNF5; the disease is Alzheimer disease.