Upload 3 files
Browse files- LICENSE.txt +14 -0
- README.md +81 -0
- data/Data.csv +0 -0
LICENSE.txt
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Creative Commons Attribution 4.0 International (CC BY 4.0)
|
| 2 |
+
|
| 3 |
+
You are free to:
|
| 4 |
+
• Share — copy and redistribute the material in any medium or format.
|
| 5 |
+
• Adapt — remix, transform, and build upon the material for any purpose, even commercially.
|
| 6 |
+
|
| 7 |
+
Under the following terms:
|
| 8 |
+
• Attribution — You must give appropriate credit, provide a link to the license,
|
| 9 |
+
and indicate if changes were made, without suggesting endorsement.
|
| 10 |
+
|
| 11 |
+
Full license text: https://creativecommons.org/licenses/by/4.0/
|
| 12 |
+
|
| 13 |
+
© 2025 Tarek Masryo
|
| 14 |
+
This dataset is released under the CC BY 4.0 International license.
|
README.md
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# 🌐 Digital Habits and Mental Health
|
| 2 |
+
### Behavioral and Digital Wellbeing Dataset (2025)
|
| 3 |
+
|
| 4 |
+
A curated dataset exploring how **digital lifestyles** shape **mental wellbeing** — linking screen time, phone use, sleep, and psychological factors such as stress, focus, and happiness.
|
| 5 |
+
Includes **3,500 anonymized participants** and **24 research-inspired features**, designed for **behavioral research**, **machine learning**, and **explainable AI**.
|
| 6 |
+
|
| 7 |
+
---
|
| 8 |
+
|
| 9 |
+
## 📘 Dataset Overview
|
| 10 |
+
|
| 11 |
+
| Field | Description |
|
| 12 |
+
|:--|:--|
|
| 13 |
+
| **File name** | `Data.csv` |
|
| 14 |
+
| **Rows** | 3,500 |
|
| 15 |
+
| **Columns** | 24 |
|
| 16 |
+
| **Target** | `high_risk_flag` |
|
| 17 |
+
|
| 18 |
+
---
|
| 19 |
+
|
| 20 |
+
## 🧠 Feature Groups
|
| 21 |
+
|
| 22 |
+
**Demographics:** age · gender · region · income_level · education_level
|
| 23 |
+
**Digital Behavior:** daily_screen_time · phone_unlocks · notifications_per_day · social_media_hours · study_time · work_hours
|
| 24 |
+
**Mental Health Indicators:** stress_level · anxiety_level · depression_level · happiness_score · focus_score · productivity_score
|
| 25 |
+
**Derived Ratios:** screen_to_sleep_ratio · social_work_ratio · wellbeing_index
|
| 26 |
+
**Target:** `high_risk_flag` — binary wellbeing-risk indicator (0 = low, 1 = high)
|
| 27 |
+
|
| 28 |
+
---
|
| 29 |
+
|
| 30 |
+
## 🎯 Target Definition
|
| 31 |
+
|
| 32 |
+
The target variable **`high_risk_flag`** labels individuals at elevated mental-health risk, defined by a composite of:
|
| 33 |
+
- High digital engagement (screen time, unlocks, notifications)
|
| 34 |
+
- Elevated stress or anxiety
|
| 35 |
+
- Lower happiness/focus scores
|
| 36 |
+
|
| 37 |
+
Distribution: roughly **15–20 % high-risk**, aligning with behavioral research estimates.
|
| 38 |
+
|
| 39 |
+
---
|
| 40 |
+
|
| 41 |
+
## 🚀 Example Usage
|
| 42 |
+
|
| 43 |
+
```python
|
| 44 |
+
from datasets import load_dataset
|
| 45 |
+
|
| 46 |
+
dataset = load_dataset("TarekMasryo/digital-habits-mental-health")
|
| 47 |
+
|
| 48 |
+
df = dataset["train"].to_pandas()
|
| 49 |
+
print(df.head())
|
| 50 |
+
```
|
| 51 |
+
|
| 52 |
+
---
|
| 53 |
+
|
| 54 |
+
## 🔬 Research & Applications
|
| 55 |
+
|
| 56 |
+
- Predict wellbeing risk from digital patterns
|
| 57 |
+
- Correlate stress, sleep, and screen exposure
|
| 58 |
+
- Build explainable models (SHAP / LIME)
|
| 59 |
+
- Segment behavioral profiles by lifestyle balance
|
| 60 |
+
- Apply calibration or threshold tuning for decision systems
|
| 61 |
+
|
| 62 |
+
---
|
| 63 |
+
|
| 64 |
+
## 🧩 Reproducibility
|
| 65 |
+
|
| 66 |
+
- No missing or duplicate values
|
| 67 |
+
- Deterministic preprocessing and schema
|
| 68 |
+
- Compatible with Kaggle, Colab, and Jupyter
|
| 69 |
+
|
| 70 |
+
---
|
| 71 |
+
|
| 72 |
+
---
|
| 73 |
+
|
| 74 |
+
## 🧭 Ethical Considerations
|
| 75 |
+
Educational/research dataset only — **not** for clinical use, diagnosis, or treatment.
|
| 76 |
+
|
| 77 |
+
## 📚 Citation
|
| 78 |
+
Please cite the dataset URL on Hugging Face and the license below when using this data.
|
| 79 |
+
|
| 80 |
+
## 📜 License
|
| 81 |
+
**CC BY 4.0 (Attribution)** — Free to share and adapt with attribution.
|
data/Data.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|