Learning efficient codes from epileptic EEG