A novel framework for cognitive state identification using resting-state EEG | Synapse