Using the two machine learning algorithms, four candidate genes associated with the diagnosis of IPF were identified, including two upregulated genes, namely, COL3A1 and CDH3, and two downregulated genes, namely, CEBPD and GPIHBP1. The gene discussed is CDH3; the disease is idiopathic pulmonary fibrosis.