# Make classification and prediction at the same time

I am working on the detection and prediction of epileptic seizures and I was thinking about something : would it be possible to apply classification and prediction at the same time. I mean, having seen some data points of EEG, it would be possible to predict the (few) next values of the time series while saying "it's part of a seizure" (or at the opposite, "nothing happens, remain quiet") at the same time ?

If yes, would it be possible to do both using the same neural net ?

Thanks for any help

However, what you want (one model to solve both tasks) is most certainly possible and is usually referred to as Multi-Task Learning. In this framework there usually is a large network that branches off to $$M$$ smaller ones (one for each task). The shared layers are supposed to learn from all $$M$$ tasks and outperform networks trained individually. If you would like to see some research done in the area I would suggest following MIT's affective computing group (example MTL applications: 1, 2, 3, 4, 5).