Enter The Input Features Correctly

Results from The Model

1 = Likely to have stroke
2 = Not likely to have Stroke


Brain Stroke

A brain stroke, also known simply as a stroke, occurs when the blood supply to a part of the brain is interrupted or reduced, preventing brain tissue from getting the oxygen and nutrients it needs. Without immediate medical attention, brain cells begin to die within minutes. There are two main types of strokes: Ischemic Stroke(This is the most common type, accounting for about 87% of all strokes. It occurs when a blood clot blocks or narrows a blood vessel in the brain.) Hemorrhagic Stroke(This occurs when a weakened blood vessel in the brain ruptures and bleeds into the surrounding tissue.)
Risk Factors
Several factors increase stroke risk:
* High blood pressure
* Diabetes
* Smoking
* High cholesterol
* Obesity
* Sedentary lifestyle
* Family history of stroke
The model used for prediction here is Logistic Regression. Among several models such as Logistic Regression, Decision Tree, Support Vector Machine, Random Forest, K-Nearest Neighbor, Naive Bayes, LightGBM, XGBoost. The dataset was imbalanced, So we used a popular oversampling method called SMOTE to reduce that effect and trained our models with the new balanced dataset. After that Logistic Regression outperformed all the models. If you are interested please visit this link to see the full analysis.
Github link


Preformatted

i = 0;
          while (!deck.isInOrder()) {
          print 'Iteration ' + i;
          deck.shuffle();
           i++;
          }
          print 'It took ' + i + ' iterations to sort the deck.';
        
Menu