This project is a comprehensive heart disease prediction system that incorporates a machine learning model to predict heart disease based on user input. The system is built using Python and integrates with MongoDB for data storage and retrieval.
- MongoDB Integration: The system establishes a connection with a MongoDB database to store user inputs and prediction results. 📂
- User Interface: A user interface is implemented using FastAPI, allowing users to submit their data for prediction. The interface is designed for versatility and performance. 🌐
- Model Prediction and Data Handling: After storing the user input data in the MongoDB database, the system retrieves this data to perform the prediction using the machine learning model. The prediction outcome is then saved back into the database. 🔮
- Python 3.x 🐍
- FastAPI 🚀
- MongoDB 📂
- Scikit-learn 🧠
- Pandas 📊
- NumPy 🔢
- Joblib 📦
- Clone the repository:
git clone https://github.com/shivayapandey/heart-disease-prediction.git
css Copy code
- Navigate to the project directory:
cd heart-disease-prediction-system
markdown Copy code
- Install the required dependencies:
pip install -r requirements.txt
markdown Copy code
-
Start the MongoDB server. 🚀
-
Run the FastAPI application:
uvicorn main:app --reload
markdown Copy code
-
Access the user interface by navigating to
http://localhost:8000
in your web browser. 🌐 -
Submit your data through the user interface. 📝
-
The system will store your input data in the MongoDB database, perform the prediction using the machine learning model, and save the prediction result back into the database. 💾
Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request. 🙌
This project is licensed under the MIT License. 📜