… brain activity were recorded with electroencephalogram (EEG) electrodes, providing a direct, real-time link between … methods, on more than 33,000 two-second-long snippets of EEG recordings from seven of the volunteers. This way the algorithms could “learn” the difference between EEG readings predictive of consciousness and unconsciousness …