Epileptic Seizure Detection and Prediction from EEG Data: A Machine Learning Approach with Clinical Validation