basaktamer commited on
Commit
e79e0a1
·
verified ·
1 Parent(s): bbf8d61

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +46 -0
README.md ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ title: Calorie Expenditure Predictor
3
+ emoji: 🔥
4
+ colorFrom: purple
5
+ colorTo: red
6
+ sdk: streamlit
7
+ sdk_version: 1.31.0
8
+ python_version: '3.10'
9
+ app_file: app.py
10
+ pinned: false
11
+ license: mit
12
+ ---
13
+
14
+ # Calorie Expenditure Prediction - Kaggle Playground Series S5E5
15
+
16
+ This repository contains a machine learning application deployed to Hugging Face Spaces that predicts calories burned during physical activity. This project was developed as part of a "Become a Pro" Data Science challenge.
17
+
18
+ ## Project Overview
19
+ The goal of this project is to provide high-precision caloric expenditure estimates based on physiological and exercise-related metrics. The model was trained on a dataset of 750,000 records, focusing on memory efficiency and non-linear relationship modeling.
20
+
21
+ ## Technical Details
22
+ - **Model:** XGBRegressor (Extreme Gradient Boosting)
23
+ - **Performance:**
24
+ - **R-Squared:** 0.9962
25
+ - **RMSE:** 3.80
26
+ - **Environment:** Python 3.10
27
+ - **Key Techniques:**
28
+ - Manual Categorical Mapping (Female: 1, Male: 0) to optimize memory.
29
+ - Histogram-based tree method (`tree_method='hist'`) for handling large-scale tabular data within 8GB RAM constraints.
30
+
31
+ ## Features Used
32
+ - `Sex` (Encoded)
33
+ - `Age`
34
+ - `Height`
35
+ - `Weight`
36
+ - `Duration`
37
+ - `Heart_Rate`
38
+ - `Body_Temp`
39
+
40
+ ## Local Setup
41
+ To run this project locally on VS Code with Python 3.10:
42
+
43
+ 1. Create a virtual environment:
44
+ ```bash
45
+ python -m venv venv
46
+ source venv/bin/activate # On Windows use: venv\Scripts\activate