Described is a system for decoding and validating memory consolidation. During operation, the system receives electroencephalographic (EEG) data while a subject is performing a specific task. Nuisance signals are then removed from the EEG data, resulting in a nuisance free signal. Skill feature vectors are generated from the nuisance free signal using time-invariant feature extraction. A skill classifier can then be trained for the specific task based on the skill feature vectors to generate a subject specific model regarding a memory replay for the specific task. Finally, electrodes in a neural cap are activated based on the memory replay.
System and method for decoding and behaviorally validating memory consolidation during sleep from EEG after waking experience