[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-detail-125208-en":3,"doc-seo-125208-105":30,"detail-sidebar-cat-0-en-105":91},{"code":4,"msg":5,"data":6},0,"success",{"doc_id":7,"user_id":8,"nickname":9,"user_avatar":10,"doc_module":4,"category_id":11,"category_name":12,"doc_title":13,"doc_description":14,"doc_content":15,"file_id":16,"file_url":17,"file_type":18,"file_size":19,"view_count":20,"is_deleted":4,"is_public":20,"is_downloadable":20,"audit_status":20,"page_count":21,"language":22,"language_code":23,"site_id":24,"html_lang":23,"table_of_contents":25,"faqs":26,"seo_title":27,"seo_description":14,"update_tm":28,"read_time":29},125208,1099514067415,"Rowan","https://ap-avatar.wpscdn.com/avatar/100002539d78ffe74a7?x-image-process=image/resize,m_fixed,w_180,h_180&k=1779092875211072502",8,"Research & Report","Construction and validation of an algorithm to separate focal and generalised epilepsy using clinical variables - a comparison of machine learning approaches","Purpose: Distinguishing focal versus generalised epilepsy is critical for selecting anti-seizure medication, especially in resource-limited settings where EEG and neuroimaging are often unavailable. Methods: An algorithm was built using 28 clinical variables from 503 patients, using a naïve Bayes approach and mutual-information feature selection, then compared with five other machine learning methods. Results: The best naïve Bayes model achieved 92.2% accuracy, and an eight-variable variant reached 91.0%. Conclusion: A clinician-friendly eight-variable clinical algorithm can accurately separate focal from generalised epilepsy without EEG or imaging.","Construction and validation of an algorithm to separate focal and generalised epilepsy using clinical variables: A comparison of machine learning approaches  \nPatterson, V. , Glass, D. H. , Kumar, S. , El-Sadig, S. M. , Mohamed, I. , El-Amin, R. , & Singh, M. (2024) . Construction and validation of an algorithm to separate focal and generalised epilepsy using clinical variables: A comparison of machine learning approaches. Epilepsy & behavior : E&B, 155, 1-8. Article 109793. Advance online publication. [https://doi.org/10.1016/j.yebeh.2024.109793](https://doi.org/10.1016/j.yebeh.2024.109793)  \nLink to publication record in Ulster University Research Portal  \nPublished in:  \nEpilepsy & behavior : E&B  \nPublication Status:  \nPublished online: 25/04/2024  \nDOI:  \n10.1016/j.yebeh.2024.109793  \nDocument Version  \nAuthor Accepted version  \nDocument Licence:  \nCC BY-NC-ND  \nGeneral rights  \nThe copyright and moral rights to the output are retained by the output author(s), unless otherwise stated by the document licence.  \nUnless otherwise stated, users are permitted to download a copy of the output for personal study or non-commercial research and are permitted to freely distribute the URL of the output. They are not permitted to alter, reproduce, distribute or make any commercial use of the output without obtaining the permission of the author(s) .  \nIf the document is licenced under Creative Commons, the rights of users of the documents can be found at [https://creativecommons.org/share-your-work/cclicenses/](https://creativecommons.org/share-your-work/cclicenses/) .  \nTake down policy  \nThe Research Portal is Ulster University's institutional repository that provides access to Ulster's research outputs. Every effort has been made to ensure that content in the Research Portal does not infringe any person's rights, or applicable UK laws. If you discover content in the Research Portal that you believe breaches copyright or violates any law, please contact [pure-support@ulster.ac.uk](pure-support@ulster.ac.uk)  \nDownload date: 10/05/2025  \nConstruction and Validation of an Algorithm to Separate Focal and Generalised Epilepsy using Clinical Variables: a comparison of machine learning approaches  \nVictor Patterson 1 David H. Glass2 Shambhu Kumar3 Sarah Misbah El-Sadig4 Inaam Mohamed 5 Rahba El-Amin4 Mamta Singh3  \n1 Independent neurologist, Belfast, UK  \n2 School of Computing, Ulster University, Belfast, UK  \n3 Department of Neurology, All India Institute of Medical Sciences, New Delhi, India  \n4 Department of Medicine, University of Khartoum, Khartoum, Sudan  \n5 Department of Paediatrics, University of Khartoum, Khartoum, Sudan  \nCorresponding author: Dr Victor Patterson, [vhp498@gmail.com](vhp498@gmail.com)  \nAbstract  \nPurpose  \nEpilepsy type, whether focal or generalised, is important in deciding anti-seizure medication (ASM) . In resource-limited settings, investigations are usually not available, so a clinical separation is required. We used a naïve Bayes approach to devise an algorithm to do this , and compared its accuracy with algorithms devised by five other machine learning methods.  \nMethods  \nWe used data on 28 clinical variables from 503 patients attending an epilepsy clinic in India with defined epilepsy type, as determined by an epileptologist with access to clinical, imaging, and EEG data. We adopted a machine learning approach to select the most relevant variables based on mutual information, to train the model on part of the data, and then to evaluate it on the remaining data (testing set) . We used anaïve Bayes approach and compared the results in the testing set with those obtained by several other machine learning algorithms by measuring sensitivity, specificity, accuracy , area under the curve, and Cohen’s kappa.  \nResults  \nThe six machine learning methods produced broadly similar results. The best naïve Bayes algorithm contained eleven variables, and its accuracy was 92.2% in determining epilepsy type (sensitivi","cbCaiaknHzbqa3w7","https://ap.wps.com/l/cbCaiaknHzbqa3w7","pdf",739028,1,22,"English","en",105,"# Abstract\n## Purpose\n## Methods\n## Results\n## Conclusion\n# Introduction","[{\"question\":\"Why is separating focal and generalised epilepsy clinically important?\",\"answer\":\"Epilepsy type guides the choice of anti-seizure medication and affects treatment effectiveness and prognosis, including seizure-freedom likelihood after withdrawal of ASMs.\"},{\"question\":\"How was the algorithm constructed and evaluated?\",\"answer\":\"The study used 28 clinical variables from 503 patients, selected via mutual information, trained on a portion of the data, and evaluated on a held-out testing set using metrics such as sensitivity, specificity, accuracy, AUC, and Cohen’s kappa.\"},{\"question\":\"What were the key performance results compared with other machine learning methods?\",\"answer\":\"Six machine learning approaches produced broadly similar results. The best naïve Bayes model reached 92.2% accuracy, while an eight-variable naïve Bayes model achieved 91.0% accuracy and was easier for clinicians to use.\"}]","Construction and validation of an algorithm to separate focal and generalised epilepsy using clinical variables - a comparison of machine learning approaches | PDF",1785897414,55,{"code":4,"msg":31,"data":32},"ok",{"site_id":24,"language":23,"slug":33,"title":13,"keywords":34,"description":14,"schema_data":35,"social_meta":86,"head_meta":88,"extra_data":90,"updated_unix":28},"construction-and-validation-of-an-algorithm-to-separate-focal-and-generalised-epilepsy-using-clinical-variables-a-comparison-of-machine-learning-approaches","",{"@graph":36,"@context":85},[37,54,68],{"@type":38,"itemListElement":39},"BreadcrumbList",[40,44,48,51],{"item":41,"name":42,"@type":43,"position":20},"https://docshare.wps.com","Home","ListItem",{"item":45,"name":46,"@type":43,"position":47},"https://docshare.wps.com/document/","Document",2,{"item":49,"name":12,"@type":43,"position":50},"https://docshare.wps.com/document/research-report/",3,{"item":52,"name":13,"@type":43,"position":53},"https://docshare.wps.com/document/construction-and-validation-of-an-algorithm-to-separate-focal-and-generalised-epilepsy-using-clinical-variables-a-comparison-of-machine-learning-approaches/125208/",4,{"url":52,"name":13,"@type":55,"author":56,"headline":13,"publisher":58,"fileFormat":61,"inLanguage":23,"description":14,"dateModified":62,"datePublished":62,"encodingFormat":61,"isAccessibleForFree":63,"interactionStatistic":64},"DigitalDocument",{"name":9,"@type":57},"Person",{"url":41,"name":59,"@type":60},"DocShare","Organization","application/pdf","2026-08-05",true,{"@type":65,"interactionType":66,"userInteractionCount":20},"InteractionCounter",{"@type":67},"ViewAction",{"@type":69,"mainEntity":70},"FAQPage",[71,77,81],{"name":72,"@type":73,"acceptedAnswer":74},"Why is separating focal and generalised epilepsy clinically important?","Question",{"text":75,"@type":76},"Epilepsy type guides the choice of anti-seizure medication and affects treatment effectiveness and prognosis, including seizure-freedom likelihood after withdrawal of ASMs.","Answer",{"name":78,"@type":73,"acceptedAnswer":79},"How was the algorithm constructed and evaluated?",{"text":80,"@type":76},"The study used 28 clinical variables from 503 patients, selected via mutual information, trained on a portion of the data, and evaluated on a held-out testing set using metrics such as sensitivity, specificity, accuracy, AUC, and Cohen’s kappa.",{"name":82,"@type":73,"acceptedAnswer":83},"What were the key performance results compared with other machine learning methods?",{"text":84,"@type":76},"Six machine learning approaches produced broadly similar results. The best naïve Bayes model reached 92.2% accuracy, while an eight-variable naïve Bayes model achieved 91.0% accuracy and was easier for clinicians to use.","https://schema.org",{"og:url":52,"og:type":87,"og:title":13,"og:site_name":59,"og:description":14},"article",{"robots":89,"canonical":52},"index,follow",{"doc_id":7,"site_id":24},{"code":4,"msg":5,"data":92},[93,97,101,105,110,115,120,123,128,131,135],{"id":20,"doc_module":4,"doc_module_name":46,"category_name":94,"show_sort_weight":95,"slug":96},"Story & Novel",90,"story-novel",{"id":47,"doc_module":4,"doc_module_name":46,"category_name":98,"show_sort_weight":99,"slug":100},"Literature",80,"literature",{"id":53,"doc_module":4,"doc_module_name":46,"category_name":102,"show_sort_weight":103,"slug":104},"Exam",70,"exam",{"id":106,"doc_module":4,"doc_module_name":46,"category_name":107,"show_sort_weight":108,"slug":109},5,"Comic",60,"comic",{"id":111,"doc_module":4,"doc_module_name":46,"category_name":112,"show_sort_weight":113,"slug":114},6,"Technology",50,"technology",{"id":116,"doc_module":4,"doc_module_name":46,"category_name":117,"show_sort_weight":118,"slug":119},7,"Healthcare",40,"healthcare",{"id":11,"doc_module":4,"doc_module_name":46,"category_name":12,"show_sort_weight":121,"slug":122},30,"research-report",{"id":124,"doc_module":4,"doc_module_name":46,"category_name":125,"show_sort_weight":126,"slug":127},9,"Religion & Spirituality",20,"religion-spirituality",{"id":126,"doc_module":4,"doc_module_name":46,"category_name":129,"show_sort_weight":126,"slug":130},"World Cup","world-cup",{"id":132,"doc_module":4,"doc_module_name":46,"category_name":133,"show_sort_weight":132,"slug":134},10,"Lifestyle","lifestyle",{"id":136,"doc_module":4,"doc_module_name":46,"category_name":137,"show_sort_weight":106,"slug":138},19,"General","general"]