The AUC for the whole-tumor model, habitat model, and combined model in the training cohort were 0.673, 0.649, and 0.758 respectively.<h4>Conclusion</h4>The habitat model exhibited better discriminatory effectiveness in identifying HER2 positive expression in young breast cancer patients, in comparison to the whole-tumor radiomics model. Here, ERBB2 is linked to breast carcinoma.