Employing three machine learning algorithms (LASSO, RF, and SVM-RFE), we identified AKR1B10, IGFL2, WNK2, SLAMF7, and CCR7 as potential biomarkers and therapeutic targets for HS treatment. Here, CCR7 is linked to histiocytic sarcoma.