A generalizable adaptive brain-machine interface design for control of anesthesia | IEEE Conference Publication | IEEE Xplore