The five candidate m6A regulators (IGFBP2, YTHDC1, IGFBP3, ZC3H13, and METTL3) based on the RF model were utilized for the construction of nomogram model to predict the prevalence of patients with CHP or IPF. The gene discussed is IGFBP3; the disease is idiopathic pulmonary fibrosis.