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.
- 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
physiological_cycles.csv: Recovery, strain, and sleep cycle dataworkouts.csv: Workout-specific datasleep.csv: Detailed sleep metrics
workout_data_hevy.csv: Detailed workout logs including:- Exercise details
- Sets, reps, and weights
- RPE (Rate of Perceived Exertion)
- Workout duration and timing
bash Clone the repository git clone https://github.com/EngCaioFonseca/whoop_data_analysis.git Install required packages pip install -r requirements.txt
python Run the main analysis python whoop_analysis.py
- Recovery score trends
- Sleep performance metrics
- Strain analysis
- Heart rate variability (HRV) patterns
- Respiratory rate trends
- Workout frequency patterns
- Exercise type distribution
- Volume progression over time
- RPE distribution
- Set and rep patterns
- Recovery score vs. workout performance
- Strain levels vs. workout volume
- Sleep quality impact on workout performance
- Correlation analysis between recovery and workout metrics
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
- Recovery score prediction
- Workout performance clustering
- Anomaly detection in recovery patterns
- Time series forecasting
- Python 3.8+
- pandas
- numpy
- matplotlib
- seaborn
- scikit-learn
- statsmodels
├── 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
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
- Whoop for providing detailed recovery and strain metrics
- Hevy for comprehensive workout tracking capabilities
- The Python data science community for excellent tools and libraries
Caio Fonseca Project Link: https://github.com/EngCaioFonseca/whoop-hevy-analysis






















