Skip to content

haseeb-555/DR.ML

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

45 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Here's a temporary README.md file for your project based on the folder structure in the screenshot and the provided tech stack (FastAPI, ReactJS, PostgreSQL, Streamlit):


# 🧠 Multi-Disease Prediction System

This is a full-stack web application that enables users to upload data (images or form inputs) and receive predictions for various medical conditions using machine learning models.

## πŸš€ Tech Stack

- **Backend:** FastAPI
- **Frontend:** ReactJS
- **Database:** PostgreSQL
- **ML App Interface:** Streamlit

---

## πŸ—‚οΈ Project Structure

backend/ β”‚ β”œβ”€β”€ data/ # Sample or user-uploaded data β”‚ β”œβ”€β”€ alzheimer-mri/ β”‚ β”œβ”€β”€ braintumor-mri/ β”‚ β”œβ”€β”€ heart/ β”‚ └── kidney/ β”‚ β”œβ”€β”€ models/ # Trained ML models β”‚ β”œβ”€β”€ preprocessing/ # Input preprocessing logic β”‚ β”œβ”€β”€ testing/ # Model inference logic β”‚ β”œβ”€β”€ venv/ # Python virtual environment β”‚ β”œβ”€β”€ app.py # FastAPI entry point β”œβ”€β”€ requirements.txt # Python dependencies β”œβ”€β”€ runtime.txt # Deployment config β”‚ frontend/ # ReactJS frontend β”‚ .gitignore README.md


---

## βœ… Features

- πŸ” Predicts:
  - Alzheimer's from MRI scans
  - Brain Tumor from MRI scans
  - Heart Disease from clinical data
  - Kidney Disease from test parameters
- πŸ” User login & history tracking
- 🧠 AI-based chatbot integration (planned)
- πŸ“ˆ Streamlit dashboards for quick visualization

---

## πŸ› οΈ Setup Instructions

### Backend (FastAPI)

```bash
cd backend
python -m venv venv
source venv/bin/activate  # or venv\Scripts\activate on Windows
pip install -r requirements.txt
uvicorn app:app --reload

Frontend (ReactJS)

cd frontend
npm install
npm start

Streamlit (ML Prediction UI)

streamlit run path/to/streamlit_app.py

πŸ—ƒοΈ Database

Make sure to have PostgreSQL installed and running.

CREATE DATABASE medical_predictions;

Configure DB connection in .env or directly in your FastAPI settings.


About

4 DISEASE PREDC WITH ML AND DL MODELS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors