Recurrent neural network based prediction of epileptic seizures in intra- and extracranial EEG