The machine-learning method, RF, was performed to create an ideal model to predict the occurrence of periodontitis and selected five hub PRGs (CHMP2B, GZMB, ZBP1, IL1B, and IRF1). The gene discussed is CHMP2B; the disease is periodontitis.