Skip to content

Final Capstone Project for General Assembly Data Science Immersive 👩🏻‍⚕️

Notifications You must be signed in to change notification settings

anitatea/patiently_waiting

Repository files navigation

Patiently Waiting

Check emergency room wait times around Toronto: https://patientlywaiting.herokuapp.com/

Goal

Generate emergency wait times around Toronto based on the day of the week

Problem Statement

Have you ever stepped foot in the emergency room of a hospital in Toronto either for a loved one or perhaps yourself, only to be met with a grueling long wait until you see any medical professional?

It sucks. And there should definitely be a better system, right? Having volunteered at Toronto Western Hospital Emergency Department and being able to experience both sides of the system, I wanted to dig deep at what's really going on and to actually do something about it.

Technologies Used

  • Python
  • Pandas
  • pipenv - for local storage of credentials
  • Beautiful Soup - Web Scraping
  • SKLearn pipelines
  • DataFrameMapper
  • HDBSCAN clustering
  • Flask
  • Google Maps Api

Project Notes

Data Gathering

Detailed administrative data on date, patient flow, current and past examinations in Ontario was provided by:

Data Modeling

The ability to accurately and reliably predict waiting times at walk-in hospital facilities can increase both patient satisfaction and hospital efficiency via a better management of patient flow. My web-app implements machine learning (ML) models to predict waiting times in the Emergency Room (ER) of the largest public hospital in the Greater Toronto Area (GTA).

Several ML algorithms were evaluated to find the most accurate and useful prediction to a user. I chose Gradient Boosting among other regression models explored for predicting wait times.

PATIENTLY WAITING is currently in beta testing. If you notice any bugs, have any questions or suggestions, I'd love to hear from you: anita.tran38@gmail.com.

Planned Future Enhancements

  • Docker for hosting database, nginx and flask web app
  • Google API to read your location
  • Actively scrape hospital data as it is released per month on hqontatio.ca
  • Generate best route to hospital using combinatorial optimization

Releases

No releases published

Packages

No packages published

Languages