Skip to content

Developed a web application that employs machine learning techniques to estimate the likelihood of heart strokes by harnessing the capabilities of the Random ForestClassifier algorithm.

License

Notifications You must be signed in to change notification settings

spiderxp3/Strokeshield

Repository files navigation

StrokeShield

StrokeShield is a web application that uses machine learning to predict the risk of heart strokes. The application is built on a Python server and utilizes the RandomForestClassifier algorithm to provide personalized risk assessments based on user input health data.

Check out live demo of the project in the description.

License: MIT Python Version Flask Version

scikit-learn Version Bootstrap Version Kaggle scikit-learn RandomForestClassifier

5764322

Dataset and Accuracy

  • StrokeShield uses the Stroke Prediction Dataset from Kaggle to train and test the RandomForestClassifier algorithm.
  • This dataset includes 5110 records of patient data, including demographic information, lifestyle factors, and medical history.
  • After preprocessing the data and training the model, StrokeShield achieved an accuracy of 94% on the test set.
  • This high accuracy demonstrates the effectiveness of the RandomForestClassifier algorithm in predicting stroke risk based on individual risk factors.

Features

  • User-friendly interface for inputting health data
  • Machine learning algorithm for predicting stroke risk
  • Personalized risk assessments based on user data
  • Proactive prevention strategies for improved heart health
  • An accuracy of 94% prediction of required outcome with this approach.

Installation

  1. Clone the repository: git clone https://github.com/spiderxp3/strokeshield.git
  2. Install the required packages: pip install -r requirements.txt
  3. Run the server: python server.py
  4. Open the application in your web browser: http://localhost:5000

Usage

  1. Input your health data into the application
  2. Click the "Predict" button to receive your personalized stroke risk assessment
  3. Follow the proactive prevention strategies provided by the application to improve your heart health

Contributing

Contributions to StrokeShield are welcome! If you find a bug or have a feature request, please open an issue on the repository. If you would like to contribute code, please fork the repository and submit a pull request.

License

StrokeShield is licensed under the MIT License. See LICENSE for more information.

Acknowledgements

  • RandomForestClassifier algorithm from scikit-learn
  • Flask web framework
  • Bootstrap CSS framework

About

Developed a web application that employs machine learning techniques to estimate the likelihood of heart strokes by harnessing the capabilities of the Random ForestClassifier algorithm.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published