Heart Disease Prediction using Python & Machine Learning
Heart Disease Prediction using Python & Machine Learning Project is a final-year academic project that uses medical data and ML algorithms to predict the likelihood of heart disease. Built with Python, scikit-learn, NumPy, and joblib, it trains and evaluates models like Logistic Regression and Random Forest to deliver accurate results. Heart Disease Prediction Project Python & Machine Learning for Final year Students The Heart Disease Prediction Project features SQLite integration, a user-friendly interface, and includes a complete project report, PPT, and source code.
π οΈ Final Tech Stack Used
π Frontend / Web Interface:
- Django (Python Web Framework) β Used to create the web interface for user input, displaying predictions, and managing data
- HTML5, CSS3, JavaScript β For rendering and styling web pages
- Bootstrap (optional) β For responsive UI components
- Django Templates β For dynamic web page rendering
π§ Machine Learning / Backend Logic:
- scikit-learn β Machine Learning library used to implement algorithms like Logistic Regression, Decision Tree, Random Forest, KNN
- NumPy β For numerical operations and matrix manipulation
- Pandas β For handling and preprocessing datasets
- joblib β To save and load the trained machine learning model
ποΈ Database:
- SQLite β Lightweight relational database used to store user data and predictions
- Django ORM (Object Relational Mapper) β Handles interaction between Django models and the SQLite database
βοΈ Tools & Environment:
- Python 3.x β Core programming language used
- PyCharm β IDE for development
- Virtualenv / pip β For managing dependencies
π‘ Key Features:
β
Input Form for Patient Medical Details (age, BP, cholesterol, etc.)
β
Prediction of Heart Disease Risk
β
Model Accuracy Comparison
β
SQLite Integration for Data Storage
β
Admin Panel to Manage Users and Records
β
Easy-to-use Interface
β
Exportable Reports
Output Screens
Home Page

Heart Disease Prediction History

Admin login

All Users Data

Details Edit Mode

How to run the Heart Disease Prediction Python ML Project
1. Download the zip file
2. Extract the file, copy heartdisease
, folder and paste it on the desktop
3. Open PyCharm and Import the project in pycharm
4. Navigate the project folder using the cd command
> Navigate to the heart_disease_prediction
folder
cd heart_disease_prediction
5. Install three libraries
1 2 3 4 5 |
pip install joblib pip install numpy pip install scikit-learn |
6. Run the Project using the following command
python manage.py runserver
Now click the URL http://127.0.0.1:8000 and the Project will run
Login Details
*************admin************
Username: admin
Password: Test@123
Project Demo
π₯ Download or Purchase This Project
Get the complete Heart Disease Prediction project with source code, ML model, SQLite DB, IEEE report, and setup guide.
π Purchase Heart Disease Prediction Project , Report and PPT in β βΉ499 / $5.71