Combined with supervised machine learning, stimulated Raman histology by intraoperative SRS microscope effectively differentiated among diagnostic classes of brain tumors with 90 percent accuracy in neurosurgical patients.