In conclusion, our study provides a novel machine learning model for cancer prognosis and theragnosis by predicting ER signaling activity in patients with ER + /HER2- breast cancer from whole-slide tumor H&E staining. Here, ESR1 is linked to neoplasm.