https://github.com/aaditya9803/Stroke-Predictor
https://github.com/aaditya9803/Stroke-Predictor/-/wikis/home
Stroke Predictor is a web app that helps users predict their risk of having a stroke. Users can learn about strokes through visualizations. Developers can explore how the data was processed and trained for Stroke Predictor.
Versions:
- Python 3.10.16
- streamlit 1.41.1
- rasa 3.6.20
Start rasa actions: rasa run actions -p 8080
Start rasa server: rasa run --enable-api -p 8000
Start the web app service: streamlit run main.py
Open the app in the browser with URL: http://localhost:8501
The Stroke Prediction Dataset was accessed from following source:
https://www.kaggle.com/datasets/fedesoriano/stroke-prediction-dataset
Further details about the data are also described in the Wiki.
After downloading the project files in a project folder, do the following steps:
- Download Anaconda Navigator https://www.anaconda.com/download/success
- Launch Anaconda Prompt
- Create Conda Environment
conda create --name stroke-predictor python==3.10.16 - Activate Conda Environment
conda activate stroke-predictor - Go to the Project folder
cd project-folder - Install all the required packages in requirements.txt
pip install -r requirements.txt - Train the Rasa model
rasa train - Start Rasa action server
rasa run actions -p 8080 - Start Rasa server
rasa run --enable-api -p 8000 - Start Streamlit Server
streamlit run main.py
Then call the streamlit URL 'localhost:8051', in the browser.
All work by Aaditya Neupane.
