This project predicts final weight (wl3) based on several factors such as previous weight and self-efficacy scores using a simple Linear Regression model.
The dataset used is available on Kaggle:
Weight Loss Data
Columns:
wl1,wl2,wl3: Weight measurements at different stagesse1,se2,se3: Self-efficacy scoresgroup: Participant group
- Load and clean the dataset
- Train a Linear Regression model
- Evaluate the performance (MAE, R²)
- Visualize actual vs predicted results
- Analyze feature importance
- The model achieves a reasonable prediction accuracy (R² score varies by dataset quality).
- The feature importance plot reveals which factors have the strongest influence on final weight.
- Python
- Pandas
- Scikit-learn
- Matplotlib
- Scatter plot: Actual vs Predicted Weight
- Bar chart: Feature Importance
Samah Abuayied
LinkedIn