Subsequently, through a multi-dataset machine learning algorithm, we further narrowed down these candidate genes to nine key genes with diagnostic efficacy for periodontitis, namely, ATP2C2, FAM43B, FOXA3, HSPA12A, KIF1C, NCS1, PGM1, RASSF6, and SH2B2. The gene discussed is NCS1; the disease is periodontitis.