Skip to content

My partner, Frank Gao, and I made this app for Hacklytics 2023, a 36-hour Data Science hackathon at Georgia Tech.

Notifications You must be signed in to change notification settings

AndrwWang/carecost

 
 

Repository files navigation

CareCost - healthcare expenses made simpler

For Hacklytics 2023 @ Georgia Tech, our team created CareCost, a mobile iOS application that uses machine learning to forecast a user's out-of-pocket healthcare expenses based on a variety of metrics. We came top 10 out of 79 teams overall and won 2nd Best Healthcare Hack. Authors: Frank Gao & Andrew Wang

The Inspiration

After scouring data lakes, we came upon a dataset(instruction.csv) that involved thousands of respondents. They were asked what their annual out-of-pocket healthcare costs were, and six different metrics were recorded:

  • age
  • sex
  • BMI(body mass index)
  • number of children
  • whether or not they smoke regularly
  • which region of the U.S. they reside in(northeast, northwest, southeast, southwest)

The Model

From the dataset, we created a regression model using Python. The pandas and sklearn libraries enabled us to read the CSV file and convert the categorical columns into numerical ones. From there, it generated a series of weights that we used in our application to make predictions. The r-squared value is approximately 0.751, which is solid for most financial models.

The App

App Demo Video

The CareCost app was built entirely in Xcode using Apple's Swift language. Due to its flexibility as well as robust layout tools, we could easily fix GUI issues as they came up. Additionally, we utilized a powerful third-party library, Charts, to help the user visualize our model's predictions.

The app itself contains four main screens, each serving a distinct purpose. After the user is welcomed by our vivid colors and stunning logo, they are taken directly to a page where they can input the metrics needed for our model to do the calculations. On the very next screen, the user is presented with a beautiful graph(again, courtesy of Charts and has the option to select from a range of years, which helps them plan for the future. The app's final screen provides the user with a handful of financial tips and ways to save money, as well as the credible sources from which they came from.

The Challenges

Given that this hackathon revolved around data science, our group's main challenge was figuring out how to create a project that could positively impact individual users. After trying to brainstorm without guidance, we found that browsing online data sources helped us tremendously in coming up with ideas. Our next biggest challenge was integrating Charts into our app. Although we realized how powerful it was, none of us had much experience working with tools outside of the built-in ones. From reading the documentation to making numerous tests, our team gained lots of insight into the possibilities and struggles of third-party software.

Vision for CostCare

We hope that by giving users a quick and convenient way to understand their upcoming healthcare costs, they will be encouraged to make responsible fiscal decisions and plan ahead. Medical expenses probably are the most important costs in life and being aware of how to save money for this is crucial. When people can not pay the out-of-pocket costs, they can become drowned in debt and will be discouraged to seek medical help in the future, putting their own health at risk.

Closing Thoughts

Regardless of how we place, Hacklytics 2023 and CareCost has inspired us as developers, learners, and community members. After utilizing datasets to create a tool that could benefit people's lives, we understand better the impact that data science has on the world.

About

My partner, Frank Gao, and I made this app for Hacklytics 2023, a 36-hour Data Science hackathon at Georgia Tech.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 98.3%
  • Python 1.7%