Model deployed on this site using Deploifai
-
Install dependencies with python 3.8 and run
train.py
script to train the model. This will create anartifacts
directory that contains the model, scaler, and encoder -
Run main.py and visit http://localhost:7860[http://localhost:7860] to view use the model using Gradio
docker build -t heartattack .
or use BuildKit to specify the platform for deployment
docker buildx build --platform linux/amd64 -t heartattack .
docker run -it -p 7860:7860 --name HeartAttack heartattack
4. Visit http://localhost:7860
- Python 3.8
- Pandas
- Scikit-learn
- Gradio
- Deploifai
Dataset obtained from https://www.kaggle.com/datasets/rashikrahmanpritom/heart-attack-analysis-prediction-dataset