Our study also used machine learning algorithms to isolate diagnostic biomarkers from the gene module related to BA, identifying two key genes, CXCL8 and TMSB10. External and internal validations were performed to verify the diagnostic value and confirmed that CXCL8 and TMSB10 could accurately diagnose BA. Here, TMSB10 is linked to breast angiosarcoma.