By whole slide learning and computer vision techniques, the percentage of positively stained tumor cells within the tumor areas for EGFR ligands amphiregulin (AREG) and epiregulin (EREG) were found to predict benefit from the anti-EGFR agent panitumumab. Here, EGFR is linked to neoplasm.