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). This evidence concerns the gene IL1B and periodontitis.