{'fraction_non_alphanumeric': 0.014443500424808835, 'fraction_numerical': 0.0033984706881903144, 'mean_word_length': 5.26595744680851, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Detection and Prediction of the Preictal State of an Epileptic Seizure using Machine Learning Techniques on EEG Data

Epilepsy, a disorder that leads to abnormal activities in the brain is primarily caused by excessive neuronal activity. Patients diagnosed with epilepsy frequently suffer from seizures, the impact of which may vary from abnormal body movements to alterations in the levels of consciousness. An appropriate dosage of medication provided at the right time can help prevent an impending seizure. In this paper, real data obtained from Epilepsy Ecosystem is used for analysis. After preprocessing this data, several signal processing algorithms and mathematical computations are used for feature extraction. Two sets of features are identified viz. lasting features and transitory features. Several combinations of these features along with Machine Learning algorithms such as Extra Trees Classifier and XGBoost are used to train generalized models as well as a patient-specific models, both of which are immune to noise. It is observed that the XGBoost based generalized model which is trained using lasting features gives a relatively better accuracy of 90.41%.