Back To Projects

Impact of Class Weights and Feature Importance in Automated Stroke Detection

Avyukth H. |
workspace_premium Published in: Curieux Academic Journal

In this research paper, we do a parametric study of class weighting as a way to tackle imbalance during training. We then infer the most important features that should be taken into consideration for stroke prediction.


A stroke occurs when a blood vessel that carries oxygen and nutrients to the brain is either blocked by a clot or ruptures. Consequently, part of the brain is unable to obtain the blood (and oxygen) it needs, so brain cells die. This makes it important to be able to assess the probability of a stroke given features that are specific to patients so that they could take preventative measures in the future. Thus, the unpredictability and deadliness of strokes pose the following questions: Can we predict the occurrence of a stroke from few facts about the patient easily accessible by the doctor? What are the most important features for stroke prediction? In this project, we investigate the feasibility of using a supervised machine learning model to predict stroke occurrence. In practice, however, we faced challenges such as low prevalence and the imbalance in the available dataset, with many more negative than positive cases. In this research paper, we do a parametric study of class weighting as a way to tackle imbalance during training. We then infer the most important features that should be taken into consideration for stroke prediction. Assessing feature importance allows for patients to focus on two or three areas that may be contributing to their high probability for getting a stroke. The most significant result was that the most important feature that should be considered when determining the probability of an individual getting a stroke is age. However, there is no distinct second most important feature. Additionally, a non monotonic improvement with a class weight of 22.5 for positive cases in this dataset produces the most optimal results.

Explore More!

Avyukth H.

Related Projects

Early Detection of Knee Arthritis Using AI: Enhancing Diagnostic Accuracy with Deep Learning

This research explores the use of deep learning models, specifically convolutional neural networks like EfficientNetB0, DenseNet121, and InceptionV3, to improve the accuracy, consistency, and accessibility of knee arthritis diagnosis through automated classification of disease severity, while emphasizing the need for explainable AI to enhance clinical trust and adoption.
Advait K.
Mentored by Abdulla Kerimov
Brain Tumor Classification

Early classification and diagnosis of Brain Tumors are essential for providing the right treatment to a patient. It is crucial to get treatment as soon as possible because the survival rate for someone with an untreated brain tumor can range from as low as 3 months to as high as 5 years. In this project, we classified brain tumor images into 4 categories: glioma, meningioma, pituitary, and no tumor. With the use of baseline and deep learning models, the deep learning models demonstrated a significantly higher performance due to their ability to analyze images. The model with the highest accuracy was the MobileNet, a pre-trained transfer learning model trained on 5,608 images. This model yielded a validation accuracy of 98.24%. Using metrics including Kappa cohen score, precision, and recall, we validated the machine learning model's performance. We deployed the MobileNet model to a web app using Streamlit, where users submit MRI images and receive diagnoses of tumor class. We found that the model performed very well while utilizing the web app, indicating that it is safe to be used. However, since we only have 4 classes and there are over 150 total types of brain tumors, it could easily get a diagnosis wrong if it is not in one of these 4 classes.
Rohan S.
Mentored by Sriram Hathwar
Using Machine Learning to Detect Parkinson’s Disease Through Drawing Data

This research explores the use of machine learning models, particularly logistic regression, on patients' spiral and wave drawings as an accessible and cost-effective method to improve Parkinson's disease diagnosis, achieving an accuracy of 91%, precision of 92%, and recall of 89%.
Katie Y.
Mentored by Sriram Hathwar