Skip to content

EngCaioFonseca/Whoop_data_analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Whoop & Hevy Fitness Analysis

Overview

This project analyzes personal fitness data from both Whoop (recovery/strain metrics) and Hevy (workout tracking) to provide insights into training patterns, recovery relationships, and overall fitness trends. The analysis combines physiological data from Whoop with detailed workout metrics from Hevy to understand the relationship between recovery, strain, and workout performance.

Features

  • Comprehensive analysis of Whoop metrics (recovery, strain, sleep)
  • Detailed workout analysis from Hevy data
  • Combined analysis of recovery metrics and workout performance
  • Machine learning models for recovery prediction
  • Time series analysis of fitness trends
  • Anomaly detection in recovery patterns
  • Cluster analysis of recovery states
  • Personalized recommendations based on current metrics

Data Sources

Whoop Data

  • physiological_cycles.csv: Recovery, strain, and sleep cycle data
  • workouts.csv: Workout-specific data
  • sleep.csv: Detailed sleep metrics

Hevy Data

  • workout_data_hevy.csv: Detailed workout logs including:
    • Exercise details
    • Sets, reps, and weights
    • RPE (Rate of Perceived Exertion)
    • Workout duration and timing

Installation

bash Clone the repository git clone https://github.com/EngCaioFonseca/whoop_data_analysis.git Install required packages pip install -r requirements.txt

Usage

python Run the main analysis python whoop_analysis.py

Analysis Components

Whoop Analysis

  • Recovery score trends
  • Sleep performance metrics
  • Strain analysis
  • Heart rate variability (HRV) patterns
  • Respiratory rate trends

Hevy Analysis

  • Workout frequency patterns
  • Exercise type distribution
  • Volume progression over time
  • RPE distribution
  • Set and rep patterns

Combined Analysis

  • Recovery score vs. workout performance
  • Strain levels vs. workout volume
  • Sleep quality impact on workout performance
  • Correlation analysis between recovery and workout metrics

Visualizations

The analysis generates various visualizations including:

  • Time series plots of recovery metrics
  • Workout volume progression
  • Recovery-performance correlation plots
  • Cluster analysis visualizations
  • Anomaly detection plots
  • Sleep metrics analysis

Machine Learning Components

  • Recovery score prediction
  • Workout performance clustering
  • Anomaly detection in recovery patterns
  • Time series forecasting

Requirements

  • Python 3.8+
  • pandas
  • numpy
  • matplotlib
  • seaborn
  • scikit-learn
  • statsmodels

Project Structure

├── whoop_analysis.py ├── requirements.txt ├── data/ │ ├── physiological_cycles.csv │ ├── workouts.csv │ ├── sleep.csv │ └── workout_data_hevy.csv ├── visualizations/ │ ├── recovery_trends.png │ ├── workout_analysis.png │ └── combined_insights.png └── README.md

Results

image

image

image

image

image

image

image

image

image

image

image

image

image

image

image

image

image

image

image

image

image

image

image

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • Whoop for providing detailed recovery and strain metrics
  • Hevy for comprehensive workout tracking capabilities
  • The Python data science community for excellent tools and libraries

Contact

Caio Fonseca Project Link: https://github.com/EngCaioFonseca/whoop-hevy-analysis

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages