Abstract
Brain stroke is a disease caused by a sudden rupture of cerebral blood vessels or brain tissue damage caused by vascular occlusion, with three characteristics of high morbidity, high recurrence, and high mortality. Brain stroke is currently the second leading cause of death in the global population and a leading cause of disability. Due to the short treatment period for brain stroke patients, a timely condition assessment and rapid diagnosis and treatment are crucial to the prognosis of patients. This paper compares the performance of brain stroke prediction models constructed by multiple supervised machine learning models and selects the optimal algorithm and important risk factors. Based on the decision tree, random forest, Gaussian Bayes, and other algorithms, a brain stroke prediction model was constructed to verify the model efficacy, and identify the risk factors of stroke. In conclusion, the performance of the random forest model is the best at present. Of all the risk factors, age is the most influential factor; among all possible risk factors, identifying the glucose level in the body is an important risk factor for stroke.