Skip to content

wnmnd/stroke-prediction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

STROKE PREDICTION MODEL

A leading healthcare organization seeks to predict stroke risk using patient medical history and demographic data. As a data scientist, I built and validated a prediction model using the Random Forest algorithm. This involved data cleaning, processing, analysis, visualization, and deployment for clinical use. The model, achieving 95% accuracy, aims to mitigate stroke incidents and enhance patient outcomes.

Algorithms Used

  • Random Forest: A robust and high-performance ensemble learning method that constructs multiple decision trees during training and outputs the mode of the classes for classification.

Key Outcomes

  • The Random Forest model achieved high accuracy in predicting stroke risk.
  • The model is capable of handling various patient features, including demographic information, health history, and lifestyle factors.
  • Deployment allows for real-time stroke risk prediction, aiding healthcare providers in decision-making.

Tools and Libraries

  • R
  • tidyverse
  • ggplot2
  • dplyr
  • caret
  • randomForest
  • skimr
  • gridExtra
  • caTools
  • corrplot
  • ggcorrplot
  • naniar

How to Run

  1. Clone the repository.
  2. Load the dataset.
  3. Run the provided R scripts to preprocess the data, train the model, and evaluate its performance.

Results

Detailed results and visualizations can be found in the Visualization folder, showcasing the model's performance and insights derived from the analysis.

Conclusion

The Random Forest model's high accuracy demonstrates its suitability for stroke prediction. Future improvements could involve integrating additional features and exploring other machine learning algorithms to further enhance predictive performance.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages