In conclusion, our study utilizing a machine learning algorithm has identified AKR1C3, MCEE, POLE4, and PFKM as RA diagnostic feature biomarkers associating with immune infiltration. The gene discussed is AKR1C3; the disease is rheumatoid arthritis.