Based on the LASSO regression model and SVM-RFE analysis, COMP, SPP1, SLC6A4, COL10A1, CRTAC1, IGFL2, NECAB1, and SCG5 were identified as diagnostic markers of IPF. Here, COMP is linked to idiopathic pulmonary fibrosis.