A machine learning scheme was employed for the molecular subtypes classifications: triple negative versus nontriple-negative; HER2-enriched versus non-HER2-enriched and luminal versus nonluminal cancers. Here, ERBB2 is linked to cancer.