How mu368651-eng/health-care-using-ml works
This repository is an educational seven-disease prediction suite, with a local dashboard as its main user-facing product. A user selects a disease, enters one patient’s data or uploads a CSV, and receives risk predictions and indicators; the dashboard also offers presets and CSV templates. The API dispatches inference through a shared model service to disease-specific model families. Separate project code provides training and deep-learning experiments. The README documents all seven model families, but most disease implementations were not excerpted, so their internal call paths are not asserted.
Main entry points: model_service.py Inference service · app.py FastAPI routes · app.js Dashboard interface · trainer.py COPD training
Components 19
Dashboard and API
- Dashboard interface
web_app/frontend/static/js/app.js - FastAPI routes
web_app/backend/app.py - Patient presets
web_app/backend/sample_presets.py - Inference service
web_app/backend/model_service.py
Disease inference
- Heart disease
heart desease/heart_disease_prediction.py - Kidney disease
kidney disease/kidney_disease_prediction.py - Diabetes progression
diabetes progression/diabetes_progression.py - Liver disease
liver_disease/src/trainer.py - Stroke prediction
stroke_prediction/src/trainer.py - Hypertension risk
hypertension/src/trainer.py - COPD prediction
copd/src/models.py
Training projects
- COPD preprocessing
copd/src/data_loader.py - COPD training
copd/src/trainer.py - Hypertension data
hypertension/src/data_loader.py - Liver data
liver_disease/src/data_loader.py
Deep learning experiments
- Diabetes neural models
diabetes progression/diabetes_progression_deep_learning.py - Kidney neural model
kidney disease/kidney_disease_deep_learning.py - Heart neural experiments
heart desease/heart_disease_deep_learning.py
Other components
- Dashboard user
Connections 15
- Dashboard user → Dashboard interface: enters data
README.md - Dashboard interface → FastAPI routes: requests routes
web_app/frontend/static/js/app.js - FastAPI routes → Patient presets: reads presets
web_app/backend/app.py - FastAPI routes → Inference service: dispatches inference
web_app/backend/app.py - Inference service → Heart disease: loads model
README.md - Inference service → Kidney disease: loads model
README.md - Inference service → Diabetes progression: loads model
README.md - Inference service → Liver disease: loads model
README.md - Inference service → Stroke prediction: loads model
README.md - Inference service → Hypertension risk: loads model
README.md - Inference service → COPD prediction: loads model
README.md - COPD preprocessing → COPD training: supplies batches
copd/run_train.py - COPD training → COPD prediction: trains models
copd/src/trainer.py - Hypertension data → Hypertension risk: prepares training data
- Liver data → Liver disease: prepares training data