The machine learning algorithm combined with external dataset validation revealed that C1QA(AUC = 0.741), C1QB(AUC = 0.758), MX1(AUC = 0.865), RORC(AUC = 0.911), CD177(AUC = 0.855), DEFA4(AUC= 0.843)and HERC5(AUC = 0.880) had high diagnostic value and could be used as diagnostic biomarkers of LN. This evidence concerns the gene HERC5 and lobular neoplasia.