SERS spectra were analyzed using ML to distinguish between hemorrhagic and ischemic stroke, mimicked by different concentrations of GFAP. Here, GFAP is linked to ischemic stroke.