the main idea is using realtime EEG data and using signal processing technics and include machine-learning to modify the algorithm for every single patient.
main signal processing technic that ever used for this systems is FFT beside the machine-learning.but moving average and ... can help to achieve reliable mechanism for seizure predicting.here is a basic source about this issue: http://www.ncbi.nlm.nih.gov/pmc/articles/PMC3233702/
lastly a competition had been held by kaggle to predict seizures by EEG data and there are several useful experiences that we can use them: http://blog.kaggle.com/2015/01/26/american-epilepsy-society-seizure-prediction-challenge/ and https://github.com/drewabbot/kaggle-seizure-prediction/
now we are going to develop a reliable algorithm using available articles and other Science Team's experiences in matlab environment.
good luck :)