Experience the live prediction and hospital recommendation tool in action.

Try the Live Demo

HealthGuard: Predictive Disease Diagnosis and Hospital Recommender System

License: MIT Project Status Machine Learning Frontend

HealthGuard is a machine learning-powered system designed to predict the likelihood of cancer, heart disease, and diabetes while recommending hospitals based on treatment costs and recovery rates. Featuring a user-friendly interface, this platform is your gateway to making informed healthcare decisions.


Features

  • 🚑 Disease Prediction: AI-driven model capable of predicting cancer, heart disease, and diabetes.
  • 🏥 Hospital Recommendations: Suggests hospitals based on treatment costs and recovery rates.
  • 📊 Interactive Dashboard: View prediction results and hospital information in real-time.
  • 🌐 Responsive Design: Styled with HTML, CSS, and JavaScript for seamless interaction across devices.
  • 📈 80-85% Accuracy: Achieved high accuracy through the integration of various machine learning algorithms.

Demo

health


Technologies Used

  • Frontend: HTML5, CSS3, JavaScript (for creating a user-friendly interface)
  • Backend & Machine Learning: Python (Flask/Django), Scikit-learn, Pandas, NumPy, TensorFlow
  • Datasets: Medical datasets sourced from various repositories for training and testing
  • Database: MongoDB for storing hospital data
---

Project Architecture

/HealthGuard
  ├── /frontend
  │   ├── index.html
  │   ├── styles.css
  │   ├── recommend_hosp.html
  |   ├── medicines.html
  |   ├── addnewhosp.html
  ├── /backend
  │   ├── app.py (Flask or Django)
  │   ├── model.pkl
  ├── /data
  │   ├── diabetes.csv
  |   ├── heart1.csv.xls
  |   ├── Cancer_data.csv.xls
  ├── /docs
      ├── README.md

Installation & Setup

  1. Clone the Repository:
    git clone https://github.com/your-username/HealthGuard.git
    cd HealthGuard
  2. Install Dependencies:
    pip install -r requirements.txt
  3. Run the Web Application (for Flask):
    python app.py
  4. Open the App in Your Browser: Navigate to http://localhost:5000 to access the interface.

Usage

  1. Enter basic health metrics such as blood pressure, glucose level, and cholesterol.
  2. Select a prediction type (Cancer, Heart Disease, or Diabetes).
  3. The system will output the prediction results and recommend hospitals based on your location, treatment costs, and recovery rates.

Screenshots

1. Prediction Dashboard

2. Hospital Recommendation

addhosp


Contributing

We welcome contributions to HealthGuard! If you'd like to contribute:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature-branch)
  3. Commit your changes (git commit -m "Add new feature")
  4. Push to your branch (git push origin feature-branch)
  5. Open a Pull Request

License

This project is licensed under the MIT License. See the LICENSE file for more details.


Contact

Feel free to reach out for any queries or contributions: