View on GitHub

Gym-and-sports-calorie-tracker

Readme

Gym and sports calorie tracker

A simple ML based website which calculates calculates calories burnt by weighing in various parameters such as TotalSteps, TotalDistance, VeryActiveDistance etc.

Application interface screenshot:

Screenshot 2021-07-29 081228

Application screenshot showing what the application does:

Screenshot 2021-07-05 021054

Features:

  1. Id: The customer ID
  2. ActivityDate: The date for which the activity is getting tracked.
  3. TotalSteps: Total Steps taken on that day.
  4. TotalDistance: Total distance covered.
  5. TrackerDistance: Distance as per the tracker
  6. LoggedActivitiesDistance: Logged
  7. VeryActiveDistance: The distance for which the user was the most active.
  8. ModeratelyActiveDistance: The distance for which the user was moderately active.
  9. LightActiveDistance: The distance for which the user was the least active.
  10. SedentaryActiveDistance: The distance for which the user was almost inactive.
  11. VeryActiveMinutes: The number of minutes for the most activity.
  12. FairlyActiveMinutes: The number of minutes for moderately activity.
  13. LightlyActiveMinutes: The number of minutes for the least activity
  14. SedentaryMinutes: The number of minutes for almost no activity
  15. Calories(Target): The calories burnt.

This is a POC(Proof of concept) kind-of project. The data used here comes up with no guarantee from the creator. So, don’t use it for making calorie tracking decisions. If you do so, the creator is not responsible for anything. However, this project presents the idea that how we can use ML into practice.

MOTIVATION 💪

Fitness is one of the fastest growing areas. Everybu is moving towards fitness especially after the Covid-19 pandemic. This app is just one small and humble effort to help fitness enthusiasts for their short and long term fitness goals.

In this project, I present a website in which the predictions are implemented as; Batch File PRediction(which predicts and generates a new file with predicted values based in the pre-trained model. For the calories tracking application, the user can input the data and the application will predict the number of calories burnt.

Built with 🛠️

arduino bash bootstrap css3 flask git heroku mysql postman scikit_learn

DEPLOYMENT 🚀

Deployment is done using deploy branch.
This website is deployed at Heroku: https://sagar61205.github.io/Gym-and-sports-calorie-tracker/
How to use?
Value-based-prediction ==> enter the corresponding values and it will fetch the number of calories burnt.
File-based-prediction ==> Click in ‘default file prediction’ to see the prediction on the already trained model OR Enter an absolute file path and clixk on ‘Custom file predict’.

Application screenshot for the ‘About’ section.

Screenshot 2021-07-05 021125

Application screenshot for the health benefits of calorie tracking:

Screenshot 2021-07-05 021147

Application screenshot for batch file prediction. Here deafult prediction takes place on pre-trained dataset. A custom file file prediction can also be done.

Screenshot 2021-07-05 021215

Application screenshot for the important information section:

Screenshot 2021-07-05 021229

Prediction:

fitbit gif