Inspiration
We have seen the many problems that being an abnormal weight can be, and we know that it is not always easy to diagnose whether you are the proper weight.
What it does
WeightWise asks the users many questions about their lifestyle and general health and uses that to provide an extremely accurate judgement on what weight type the user is.
How we built it
We built this web application by first finding a dataset that contained information about participants weight levels and their corresponding attributes such as height, age, weight, eating habits, and physical activity. We then converted the data that was represented as strings into numerical data that our model could actually use. We fit this newly converted data into a decision tree, which is what ultimately makes the predictions for weight classification. Using html and css we created the user interface for our application and implemented a backend in flask, which is what allowed us to link our front-end to the machine learning model.
Challenges we ran into
The most significant challenge we ran into while developing our application was actually trying to incorporate our machine learning model into the backend. This is because format for the data that was being fed into the model was very specific, and converting the data from the form on our application into this specific format required close observation.
Accomplishments that we're proud of
The accomplishment that we are most proud of is that we were able to achieve a 95 percent accuracy rate with our decision tree model. We were able to determine this rate by splitting up our dataset into 80 percent training data that was fed into the model, and 20 percent testing data that the model had never seen before.
What we learned
Through this project, we not only learned how to create a web application using flask, but also the steps to creating and training a fully functional machine learning model that can be used to create accurate predictions about significant topics in our society.
What's next for WeightWise
We would like to add a page to actually help people follow through with plans for his new lifestyle. We want to add a macros tracker where people can put their diet everyday and see if they are getting the correct amount of food each day.
Log in or sign up for Devpost to join the conversation.