wincode commited on
Commit
0238dc0
Β·
verified Β·
1 Parent(s): 74b5774

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +416 -0
README.md CHANGED
@@ -1,3 +1,419 @@
1
  ---
 
 
2
  license: mit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ language:
3
+ - en
4
  license: mit
5
+ task_categories:
6
+ - text-classification
7
+ - text-generation
8
+ - feature-extraction
9
+ task_ids:
10
+ - sentiment-analysis
11
+ - emotion-recognition
12
+ - intent-classification
13
+ pretty_name: HESA-v1 Human Emotion and System Adaptation Dataset
14
+ size_categories:
15
+ - 1K<n<10K
16
+ tags:
17
+ - emotion-recognition
18
+ - human-computer-interaction
19
+ - adaptive-systems
20
+ - synthetic
21
+ - AGI
22
+ - emotion-aware-AI
23
+ - intelligent-tutoring
24
+ - mental-health
25
+ - productivity
26
+ - user-behavior
27
+ - cognitive-load
28
+ - stress-detection
29
+ - affective-computing
30
+ - human-centered-AI
31
+ - multimodal-behavior
32
+ dataset_info:
33
+ features:
34
+ - name: sample_id
35
+ dtype: string
36
+ - name: timestamp
37
+ dtype: string
38
+ - name: user_profile
39
+ dtype: string
40
+ - name: environment
41
+ dtype: string
42
+ - name: system_state
43
+ dtype: string
44
+ - name: human_behavior
45
+ dtype: string
46
+ - name: conversation_context
47
+ dtype: string
48
+ - name: ai_system_response
49
+ dtype: string
50
+ - name: long_term_memory
51
+ dtype: string
52
+ splits:
53
+ - name: train
54
+ num_examples: 400
55
+ - name: validation
56
+ num_examples: 60
57
+ - name: test
58
+ num_examples: 40
59
+ download_size: 1904937
60
+ dataset_size: 1904937
61
+ configs:
62
+ - config_name: default
63
+ data_files:
64
+ - split: train
65
+ path: data/train.json
66
+ - split: validation
67
+ path: data/validation.json
68
+ - split: test
69
+ path: data/test.json
70
  ---
71
+
72
+ <div align="center">
73
+
74
+ # 🧠 HESA-v1
75
+ ### Human Emotion + System Adaptation Dataset
76
+
77
+ *A synthetic, research-grade dataset for training emotion-aware AI systems, adaptive operating systems, and human-centered computing platforms.*
78
+
79
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
80
+ [![Samples](https://img.shields.io/badge/Samples-500-blue.svg)]()
81
+ [![Version](https://img.shields.io/badge/Version-1.0.0-green.svg)]()
82
+ [![HuggingFace](https://img.shields.io/badge/πŸ€—-HuggingFace-orange.svg)](https://huggingface.co/wincode)
83
+ [![Kaggle](https://img.shields.io/badge/Kaggle-wincode-20BEFF.svg)](https://kaggle.com/wincode)
84
+
85
+ </div>
86
+
87
+ ---
88
+
89
+ ## πŸ“– Dataset Description
90
+
91
+ **HESA-v1** is a large-scale synthetic dataset designed to simulate the complex relationship between human emotional states, computer usage behavior, environmental context, and intelligent AI adaptive responses.
92
+
93
+ This dataset was engineered for training next-generation:
94
+ - πŸ€– **Emotion-aware Operating Systems**
95
+ - 🧩 **Adaptive AGI Systems**
96
+ - πŸ“š **Intelligent Tutoring Systems**
97
+ - πŸ’¬ **Emotionally Intelligent Assistants**
98
+ - 🧠 **Cognitive AI Systems**
99
+ - πŸ–₯️ **Human-Centered Computing Platforms**
100
+
101
+ Each sample captures a **complete human-computer interaction snapshot** β€” combining psychological state, environmental conditions, system telemetry, behavioral signals, and AI adaptive responses into one richly structured JSON record.
102
+
103
+ ---
104
+
105
+ ## πŸ—‚οΈ Dataset Structure
106
+
107
+ ### Top-level Fields
108
+
109
+ ```json
110
+ {
111
+ "sample_id": "HESA-00001",
112
+ "timestamp": "2026-03-14T22:47:00",
113
+ "user_profile": { ... },
114
+ "environment": { ... },
115
+ "system_state": { ... },
116
+ "human_behavior": { ... },
117
+ "conversation_context": { ... },
118
+ "ai_system_response": { ... },
119
+ "long_term_memory": { ... }
120
+ }
121
+ ```
122
+
123
+ ---
124
+
125
+ ### πŸ‘€ `user_profile`
126
+
127
+ | Field | Type | Description |
128
+ |-------|------|-------------|
129
+ | `age` | int | User age (16–58) |
130
+ | `profession` | string | Job/role (30 unique professions) |
131
+ | `country` | string | Country of origin (25 countries) |
132
+ | `personality_type` | string | MBTI type (all 16 types) |
133
+ | `experience_level` | string | Beginner β†’ Veteran |
134
+ | `sleep_hours` | float | Hours slept last night (3.0–10.0) |
135
+ | `stress_level` | string | Very Low β†’ Critical |
136
+ | `mental_focus` | string | Scattered β†’ Hyperfocused |
137
+ | `social_energy` | string | Depleted β†’ Highly Social |
138
+
139
+ ---
140
+
141
+ ### 🌍 `environment`
142
+
143
+ | Field | Type | Description |
144
+ |-------|------|-------------|
145
+ | `location_type` | string | Home Office, Library, Coffee Shop, etc. |
146
+ | `noise_level` | string | Silent β†’ Chaotic |
147
+ | `lighting` | string | Pitch Dark β†’ Fluorescent Harsh |
148
+ | `temperature` | string | Cold (15Β°C) β†’ Hot (31Β°C) |
149
+ | `time_of_day` | string | 9 slots from Early Morning to Deep Night |
150
+ | `weather` | string | Clear Sunny, Rainy, Stormy, Snowing, etc. |
151
+
152
+ ---
153
+
154
+ ### πŸ’» `system_state`
155
+
156
+ | Field | Type | Description |
157
+ |-------|------|-------------|
158
+ | `cpu_usage_percent` | int | CPU load (8–97%) |
159
+ | `ram_usage_percent` | int | RAM utilization (25–92%) |
160
+ | `battery_level_percent` | int | Battery charge (4–100%) |
161
+ | `network_quality` | string | Offline β†’ Gigabit Ethernet |
162
+ | `open_applications` | list | 2–9 apps from 34 real applications |
163
+ | `active_application` | string | Currently focused app |
164
+ | `typing_speed_wpm` | int | WPM β€” derived from stress + sleep + focus |
165
+ | `mouse_movement_pattern` | string | Behavioral mouse pattern |
166
+ | `scroll_behavior` | string | Reading/skimming/jumping pattern |
167
+ | `error_frequency_rate` | float | Error rate 0.0–1.0 (derived) |
168
+ | `multitasking_level` | string | None β†’ Extreme |
169
+
170
+ ---
171
+
172
+ ### πŸ§‘β€πŸ’» `human_behavior`
173
+
174
+ | Field | Type | Description |
175
+ |-------|------|-------------|
176
+ | `emotion` | string | 28 emotion categories |
177
+ | `emotion_intensity` | string | Subtle β†’ Overwhelming |
178
+ | `facial_expression` | string | Observable facial cues |
179
+ | `voice_tone` | string | Vocal behavioral signal |
180
+ | `typing_pattern` | string | Keystroke behavioral pattern |
181
+ | `interaction_style` | string | How user engages with system |
182
+ | `frustration_signals` | list | Observable frustration indicators |
183
+ | `focus_duration_minutes` | int | Minutes in current focus block |
184
+ | `energy_level` | string | Depleted β†’ Peak |
185
+ | `motivation_level` | string | None β†’ Intrinsic Drive |
186
+ | `cognitive_load` | string | Minimal β†’ Overloaded |
187
+ | `learning_state` | string | Not Learning β†’ Breakthrough Moment |
188
+
189
+ ---
190
+
191
+ ### πŸ’¬ `conversation_context`
192
+
193
+ | Field | Type | Description |
194
+ |-------|------|-------------|
195
+ | `user_message` | string | Realistic user query/request |
196
+ | `conversation_goal` | string | Intent behind the interaction |
197
+ | `topic` | string | Task or subject being worked on |
198
+ | `urgency_level` | string | Low β†’ Deadline in under 1 hour |
199
+ | `communication_style` | string | Brief imperative, verbose, exploratory, etc. |
200
+
201
+ ---
202
+
203
+ ### πŸ€– `ai_system_response`
204
+
205
+ | Field | Type | Description |
206
+ |-------|------|-------------|
207
+ | `assistant_response` | string | Context-aware AI response |
208
+ | `response_tone` | string | Warm, neutral, energizing, grounding, etc. |
209
+ | `recommended_action` | string | Adaptive productivity recommendation |
210
+ | `ui_adaptation` | string | UI/theme change triggered |
211
+ | `notification_strategy` | string | How notifications are managed |
212
+ | `system_adjustments` | list | OS-level changes applied |
213
+ | `music_recommendation` | string | Adaptive audio environment |
214
+ | `learning_support` | string | Educational strategy offered |
215
+ | `focus_mode` | string | Active focus/productivity mode |
216
+ | `wellness_suggestion` | string | Physical/mental wellbeing nudge |
217
+
218
+ ---
219
+
220
+ ### 🧬 `long_term_memory`
221
+
222
+ | Field | Type | Description |
223
+ |-------|------|-------------|
224
+ | `historical_behavior_pattern` | string | Pattern observed across sessions |
225
+ | `previous_emotional_state` | string | Prior emotion for trend analysis |
226
+ | `productivity_trend` | string | Multi-session productivity trajectory |
227
+ | `burnout_risk` | string | Negligible β†’ Critical |
228
+ | `learning_progression` | string | Learning trajectory description |
229
+
230
+ ---
231
+
232
+ ## πŸ“Š Dataset Statistics
233
+
234
+ | Metric | Value |
235
+ |--------|-------|
236
+ | Total Samples | 500 |
237
+ | Unique Emotions | 28 |
238
+ | Countries Represented | 25 |
239
+ | Professions Covered | 30 |
240
+ | MBTI Personality Types | 16 (all) |
241
+ | Age Range | 16 – 58 |
242
+ | Time Slots | 9 (4 AM β†’ 5 AM next day) |
243
+ | Unique App References | 34 |
244
+ | Total JSON Size | ~1.86 MB |
245
+ | Splits | Train / Validation / Test |
246
+
247
+ ### Emotion Distribution (Top 10)
248
+
249
+ | Emotion | Count |
250
+ |---------|-------|
251
+ | sad | 28 |
252
+ | calm | 25 |
253
+ | anxious | 25 |
254
+ | curious | 24 |
255
+ | lonely | 22 |
256
+ | optimistic | 21 |
257
+ | determined | 20 |
258
+ | mentally_exhausted | 20 |
259
+ | restless | 20 |
260
+ | insecure | 20 |
261
+
262
+ ---
263
+
264
+ ## πŸš€ Quick Start
265
+
266
+ ### Load with Hugging Face `datasets`
267
+
268
+ ```python
269
+ from datasets import load_dataset
270
+
271
+ dataset = load_dataset("wincode/HESA-v1")
272
+ print(dataset)
273
+ # DatasetDict({
274
+ # train: Dataset({features: [...], num_rows: 400}),
275
+ # validation: Dataset({features: [...], num_rows: 60}),
276
+ # test: Dataset({features: [...], num_rows: 40})
277
+ # })
278
+ ```
279
+
280
+ ### Load raw JSON
281
+
282
+ ```python
283
+ import json
284
+
285
+ with open("HESA_dataset_v1.json", "r") as f:
286
+ data = json.load(f)
287
+
288
+ samples = data["samples"]
289
+ print(f"Total samples: {len(samples)}")
290
+
291
+ # Access first sample
292
+ s = samples[0]
293
+ print(f"Emotion: {s['human_behavior']['emotion']}")
294
+ print(f"Stress: {s['user_profile']['stress_level']}")
295
+ print(f"AI Response: {s['ai_system_response']['assistant_response']}")
296
+ ```
297
+
298
+ ### Example: Filter by emotion
299
+
300
+ ```python
301
+ burned_out = [s for s in samples if s["human_behavior"]["emotion"] == "burned_out"]
302
+ print(f"Burned-out samples: {len(burned_out)}")
303
+
304
+ # Get AI wellness suggestions for burned-out users
305
+ for s in burned_out[:3]:
306
+ print(s["ai_system_response"]["wellness_suggestion"])
307
+ ```
308
+
309
+ ### Example: Stress vs Typing Speed analysis
310
+
311
+ ```python
312
+ import pandas as pd
313
+
314
+ rows = [{
315
+ "stress": s["user_profile"]["stress_level"],
316
+ "typing_wpm": s["system_state"]["typing_speed_wpm"],
317
+ "error_rate": s["system_state"]["error_frequency_rate"],
318
+ "sleep": s["user_profile"]["sleep_hours"]
319
+ } for s in samples]
320
+
321
+ df = pd.DataFrame(rows)
322
+ print(df.groupby("stress")[["typing_wpm", "error_rate"]].mean())
323
+ ```
324
+
325
+ ---
326
+
327
+ ## 🎯 Intended Use Cases
328
+
329
+ ### βœ… Recommended Uses
330
+
331
+ - **Emotion classification** β€” Train models to detect user emotional state from behavioral signals
332
+ - **Adaptive UI/UX systems** β€” Learn context-aware interface adaptation rules
333
+ - **Intelligent tutoring** β€” Model learning state transitions and educational support strategies
334
+ - **Burnout prediction** β€” Detect early burnout signals from multi-session patterns
335
+ - **Cognitive load estimation** β€” Infer workload from typing speed, error rate, and multitasking signals
336
+ - **Affective computing research** β€” Study emotion-behavior-environment relationships
337
+ - **Synthetic data augmentation** β€” Supplement real HCI datasets
338
+ - **AGI training** β€” Human-grounded context for general-purpose assistants
339
+
340
+ ### ❌ Out-of-Scope Uses
341
+
342
+ - **Real identity inference** β€” This is fully synthetic data; no real persons represented
343
+ - **Surveillance systems** β€” Not intended for real-time monitoring applications
344
+ - **Clinical diagnosis** β€” Not a substitute for clinically validated instruments
345
+
346
+ ---
347
+
348
+ ## βš™οΈ Generation Methodology
349
+
350
+ HESA-v1 was generated using a Python-based synthetic data engine with:
351
+
352
+ - **Psychologically consistent derivation rules** β€” typing speed, error frequency, and frustration signals are mathematically derived from stress level, sleep hours, and emotional state
353
+ - **Realistic variability** β€” Gaussian distributions for focus duration, weighted distributions for sleep hours
354
+ - **Cross-field coherence** β€” Emotion states correlate with UI adaptations, notification strategies, and wellness responses
355
+ - **Diverse seeding pools** β€” 30 professions, 25 countries, 16 MBTI types, 28 emotion categories, 34 real applications
356
+ - **Temporal realism** β€” Timestamps span full year with all time-of-day slots represented
357
+
358
+ **Derived relationships implemented:**
359
+ - `stress_level + sleep_hours + mental_focus β†’ typing_speed_wpm`
360
+ - `stress_level + sleep_hours + emotion β†’ error_frequency_rate`
361
+ - `emotion + emotion_intensity β†’ frustration_signals`
362
+ - `emotion + stress + focus β†’ ai_system_response`
363
+
364
+ ---
365
+
366
+ ## πŸ“ Repository Structure
367
+
368
+ ```
369
+ wincode/HESA-v1/
370
+ β”œβ”€β”€ README.md ← This file
371
+ β”œβ”€β”€ HESA_dataset_v1.json ← Full raw dataset (500 samples)
372
+ β”œβ”€β”€ data/
373
+ β”‚ β”œβ”€β”€ train.json ← 400 training samples
374
+ β”‚ β”œβ”€β”€ validation.json ← 60 validation samples
375
+ β”‚ └── test.json ← 40 test samples
376
+ └── notebooks/
377
+ └── explore_HESA.ipynb ← Exploration notebook (optional)
378
+ ```
379
+
380
+ ---
381
+
382
+ ## πŸ“œ Citation
383
+
384
+ If you use HESA-v1 in your research or projects, please cite:
385
+
386
+ ```bibtex
387
+ @dataset{hesa_v1_2026,
388
+ title = {HESA-v1: Human Emotion and System Adaptation Dataset},
389
+ author = {Shajahan, Ahmad},
390
+ year = {2026},
391
+ publisher = {Hugging Face},
392
+ url = {https://huggingface.co/datasets/wincode/HESA-v1},
393
+ note = {Synthetic research-grade dataset for emotion-aware AI systems}
394
+ }
395
+ ```
396
+
397
+ ---
398
+
399
+ ## πŸ“„ License
400
+
401
+ This dataset is released under the **MIT License**.
402
+ Free for academic, research, and commercial use with attribution.
403
+
404
+ ---
405
+
406
+ ## πŸ‘€ Author
407
+
408
+ **Ahmad Shajahan** (wincode)
409
+ - πŸ€— HuggingFace: [huggingface.co/wincode](https://huggingface.co/wincode)
410
+ - πŸ™ GitHub: [github.com/ahmadshajahan](https://github.com/ahmadshajahan)
411
+ - 🏒 Zerath Labs / The Art of Engineering β€” Kerala, India
412
+
413
+ *KTU S4 CSE Student | AI/ML Researcher | PyTorch Content Creator*
414
+
415
+ ---
416
+
417
+ <div align="center">
418
+ Made with 🧠 for the future of human-centered AI
419
+ </div>