Our weakly supervised prediction model based on H&E-stained histopathological slides proves to be an effective approach for predicting the MGMT promoter methylation status in glioblastoma. Here, MGMT is linked to glioblastoma.