[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-detail-123325-en":3,"doc-seo-123325-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":4,"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},123325,1374391974468,"Eden","https://ap-avatar.wpscdn.com/davatar_29158cc5080c5b710cf443261637dec0",8,"Research & Report","Balancing and metaheuristic techniques for improving machine learning models in brain stroke prediction - Research summary","Stroke is a time-critical brain condition caused by disrupted blood flow, making early detection essential to reduce fatal complications and long-term disability. The study addresses an imbalanced stroke dataset of 4,981 records by applying KMeansSMOTE for class balancing. Five learning models—decision tree, random forest, SVM, K-nearest neighbors, and gradient boosting—are further improved through hyperparameter optimization using four metaheuristics: GWO, PSO, GA, and ABC. Evaluation uses accuracy, recall, precision, F1-score, and AUC. Random forest tuned with genetic algorithm achieves the best results, highlighting the impact of balancing plus metaheuristic optimization on stroke prediction.","Balancing and metaheuristic techniques for improving machine learning models in brain stroke prediction  \nAbd Allah Aouragh1, Mohamed Bahaj1, Fouad Toufik2  \n1MIET Laboratory, Faculty of Sciences and Techniques, Hassan 1st University, Settat, Morocco 2Computer Sciences Laboratory, Higher School of Technology, Mohammed V University, Sale, Morocco  \n\n| Article history:\u003Cbr>Received Mar 19, 2024 Revised Oct 19, 2024 Accepted Oct 23, 2024 | A brain stroke, medically referred to as a stroke, represents a critical condition triggered by the disruption of blood flow to a region of the brain. Early detection of stroke is crucial to prevent fatal complications. In this study, we worked with an unbalanced dataset of 4981 entries on stroke, which we balanced using the K-means synthetic minority over-sampling technique (KMeansSMOTE) algorithm. We then employed five machine learning algorithms: decision tree, random forest, support vector machine, K-nearest neighbors, and gradient boosting. We compared the hyperparameter optimization of these algorithms using four metaheuristic techniques: gray wolf optimization, particle swarm optimization, genetic algorithm, and artificial bee colony. The models' effectiveness was evaluated using multiple metrics, such as accuracy, recall, precision, F1-score, and area under the receiver operating characteristic curve. Our findings indicate that the random forest optimized by the genetic algorithm achieved the best performance, with an accuracy of 97.39% and an F1-score of 97.35% . This study highlights the effectiveness of balancing and metaheuristics techniques in optimizing machine learning models for stroke forecasting.\u003Cbr>This is an open access article under the CC BY-SA license.\u003Cbr> |\n| --- | --- |\n| Keywords:\u003Cbr>Brain stroke\u003Cbr>Genetic algorithm Hyperparameter optimization KMeansSMOTE\u003Cbr>Machine learning Oversampling\u003Cbr>Random forest |  |\n\nCorresponding Author:  \nAbd Allah Aouragh  \nMIET Laboratory, Faculty of Sciences and Techniques, Hassan 1st University Settat, Morocco  \nEmail: [abdallahaouragh@gmail.com](abdallahaouragh@gmail.com)  \nArticle Info ABSTRACT  \n1. INTRODUCTION  \nBrain stroke, also known as stroke, is a critical health problem worldwide, constituting one of the foremost causes of mortality and long-term handicap [1] . When a stroke occurs, the risk of death is high. If not fatal, a stroke can cause vision or speech impairment, paralysis, and confusion. Every year, 15 million people are reported to have a stroke: 5 million die, and 5 million are left permanently disabled, burdening families and societies [1], [2] . A stroke happens when blood flow to a section of the brain is disrupted, leading to oxygen deprivation, and subsequently, tissue damage. Prompt recognition and early intervention are paramount in mitigating the devastating consequences of this condition [3] . While there are many treatments available for stroke, including surgery, radiation therapy, chemotherapy, and targeted therapeutic approaches [4], these interventions can be costly, and their effectiveness often depends on how quickly the stroke is diagnosed and treated. Therefore, early diagnosis of stroke is of utmost importance, as it not only improves the health situation of patients but also reduces the costs associated with their rehabilitation [5] .  \nAlthough potentially serious, stroke remains a challenging condition to predict and manage effectively [3], [4] . Machine learning techniques have become promising instruments in the healthcare field, facilitating the analysis of complex medical data and aiding clinical decision-making [6] . These advancements have also improved the prediction of various diseases, including brain tumors [7], liver disease [8], and others [9], notably  \nthrough the utilization of dataset balancing and hyperparameter optimization techniques [10], [11] . In the context of stroke, the utilization of machine learning algorithms and diverse optimization techniques for early prediction ho","cbCaimuHzRM9qjp5","https://ap.wps.com/l/cbCaimuHzRM9qjp5","pdf",417097,1,9,"English","en",105,"# Article Info ABSTRACT\n## Introduction\n## Related Work and Motivation","[{\"question\":\"How does the study handle class imbalance in the stroke dataset?\",\"answer\":\"It balances an imbalanced dataset of 4,981 entries using the KMeansSMOTE synthetic minority over-sampling technique before training models.\"},{\"question\":\"Which machine learning algorithms are compared in the experiments?\",\"answer\":\"The experiments compare decision tree, random forest, support vector machine, K-nearest neighbors, and gradient boosting.\"},{\"question\":\"What metaheuristic methods are used for hyperparameter optimization, and what is the best result?\",\"answer\":\"Four techniques are used: gray wolf optimization, particle swarm optimization, genetic algorithm, and artificial bee colony. The best performance is achieved by a random forest optimized with the genetic algorithm, reaching about 97.39% accuracy and 97.35% F1-score.\"}]","Balancing and metaheuristic techniques for improving machine learning models in brain stroke prediction - Research summary | PDF",1785815941,23,{"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},"balancing-and-metaheuristic-techniques-for-improving-machine-learning-models-in-brain-stroke-prediction-research-summary","",{"@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/balancing-and-metaheuristic-techniques-for-improving-machine-learning-models-in-brain-stroke-prediction-research-summary/123325/",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-04",true,{"@type":65,"interactionType":66,"userInteractionCount":4},"InteractionCounter",{"@type":67},"ViewAction",{"@type":69,"mainEntity":70},"FAQPage",[71,77,81],{"name":72,"@type":73,"acceptedAnswer":74},"How does the study handle class imbalance in the stroke dataset?","Question",{"text":75,"@type":76},"It balances an imbalanced dataset of 4,981 entries using the KMeansSMOTE synthetic minority over-sampling technique before training models.","Answer",{"name":78,"@type":73,"acceptedAnswer":79},"Which machine learning algorithms are compared in the experiments?",{"text":80,"@type":76},"The experiments compare decision tree, random forest, support vector machine, K-nearest neighbors, and gradient boosting.",{"name":82,"@type":73,"acceptedAnswer":83},"What metaheuristic methods are used for hyperparameter optimization, and what is the best result?",{"text":84,"@type":76},"Four techniques are used: gray wolf optimization, particle swarm optimization, genetic algorithm, and artificial bee colony. The best performance is achieved by a random forest optimized with the genetic algorithm, reaching about 97.39% accuracy and 97.35% F1-score.","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,127,130,134],{"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":21,"doc_module":4,"doc_module_name":46,"category_name":124,"show_sort_weight":125,"slug":126},"Religion & Spirituality",20,"religion-spirituality",{"id":125,"doc_module":4,"doc_module_name":46,"category_name":128,"show_sort_weight":125,"slug":129},"World Cup","world-cup",{"id":131,"doc_module":4,"doc_module_name":46,"category_name":132,"show_sort_weight":131,"slug":133},10,"Lifestyle","lifestyle",{"id":135,"doc_module":4,"doc_module_name":46,"category_name":136,"show_sort_weight":106,"slug":137},19,"General","general"]