Machine learning model + web app to predict hospital wait times for a fictional hospital based on fictional data.
Find a file
2026-06-12 16:34:15 +10:00
.devcontainer Initial commit 2026-05-24 21:31:31 +10:00
Data clean up of files 2026-06-04 16:10:46 +00:00
Website Files Turns out is the app.py that's causing it to allow negative wait times... 2026-06-12 04:08:33 +00:00
.gitignore Initial commit 2026-05-24 21:31:31 +10:00
HospitalWaitTimeCalc.ipynb Run notebook to get fresh model 2026-06-12 04:21:01 +00:00
README.md Update README.md 2026-06-12 16:34:15 +10:00
requirements.txt Add gunicorn to requirements 2026-06-12 16:21:09 +10:00

Hospital Wait Time Calculator

Machine learning model + web app to predict hospital wait times for a fictional hospital based on fictional data.


Live Demo of Web App

Azure:
https://rayyan-h-tafe-nsw-indigo-hospital-wait-time-calculator.azurewebsites.net/

Fly.io (Mirror):
https://rayyan-h-tafe-nsw-indigo-hospital-wait-time-calculator.fly.dev/


About

HospitalWaitTimeCalc

Predicts how long a patient will wait based on appointment details.


Model

  • Regression model (XGBoost)
  • Output: Wait time (minutes)

Inputs:

  • Day
  • Time
  • Age
  • Gender
  • Doctor

Tech

  • Python
  • scikit-learn
  • XGBoost
  • JobLib
  • Pandas / NumPy
  • Flask

Run Notebook in MyBinder:

Binder

Run Notebook in Google Colab

https://colab.research.google.com/github/reiyua/ICTAII501/blob/main/your_notebook.ipynb


Run Web App

git clone https://github.com/reiyua/HospitalWaitTimeCalc
cd ICTAII501
pip install -r requirements.txt
python app.py