Dataset Viewer
Auto-converted to Parquet Duplicate
timestamp
stringdate
2025-12-27 08:39:26
2025-12-27 09:23:17
x
float64
-8.3
10.5
y
float64
-2.9
8
z
float64
-11.28
16.1
2025-12-27T09:13:07.598506
0.849452
3.895515
8.087741
2025-12-27T09:13:08.083118
0.727418
4.0008
8.099705
2025-12-27T09:13:08.083598
0.512064
4.165904
8.056634
2025-12-27T09:13:08.083834
0.210568
4.323831
8.01117
2025-12-27T09:13:08.084026
-0.160319
4.465007
7.956135
2025-12-27T09:13:08.084198
-0.449851
4.539185
7.922636
2025-12-27T09:13:08.084366
-0.655633
4.599005
7.922636
2025-12-27T09:13:08.084509
-0.715454
4.630112
7.929814
2025-12-27T09:13:08.084634
-0.677169
4.649254
7.915457
2025-12-27T09:13:08.085015
-0.574277
4.625326
7.898707
2025-12-27T09:13:08.085225
-0.454636
4.558327
7.805388
2025-12-27T09:13:08.085372
-0.461815
4.520042
7.740781
2025-12-27T09:13:08.085500
-0.579063
4.515256
7.795816
2025-12-27T09:13:08.085614
-0.701097
4.486542
7.898707
2025-12-27T09:13:08.085722
-0.792024
4.448257
8.145168
2025-12-27T09:13:08.085825
-0.880559
4.436293
8.451449
2025-12-27T09:13:08.085928
-0.952343
4.453043
8.745767
2025-12-27T09:13:08.086027
-1.067199
4.469793
9.023335
2025-12-27T09:13:08.086123
-1.105484
4.491328
9.226724
2025-12-27T09:13:08.086218
-1.162912
4.414758
9.367901
2025-12-27T09:13:08.086490
-1.265803
4.340581
9.41815
2025-12-27T09:13:08.086785
-1.29691
4.321438
9.375079
2025-12-27T09:13:08.086966
-1.162912
4.376473
9.305687
2025-12-27T09:13:08.087161
-0.976272
4.436293
9.190832
2025-12-27T09:13:08.087664
-0.782453
4.400401
9.049655
2025-12-27T09:13:08.088057
-0.624527
4.338187
8.913264
2025-12-27T09:13:08.088183
-0.425922
4.235296
8.793623
2025-12-27T09:13:08.088700
-0.258425
4.15394
8.717052
2025-12-27T09:13:08.089039
-0.179462
4.079763
8.685946
2025-12-27T09:13:08.089230
-0.193819
4.027121
8.695518
2025-12-27T09:13:08.089357
-0.234497
4.019942
8.724232
2025-12-27T09:13:08.089460
-0.227318
4.019942
8.788837
2025-12-27T09:13:08.089565
-0.167498
3.98405
8.834301
2025-12-27T09:13:08.089666
-0.088534
3.986443
8.961121
2025-12-27T09:13:08.089763
-0.014357
4.04387
9.085547
2025-12-27T09:13:08.089858
0.023928
4.091727
9.116654
2025-12-27T09:13:08.089951
0.052642
4.146761
9.068798
2025-12-27T09:13:08.090042
0.12682
4.158726
8.9348
2025-12-27T09:13:08.090135
0.217747
4.120441
8.800801
2025-12-27T09:13:08.090227
0.334995
4.09412
8.683554
2025-12-27T09:13:08.090317
0.409173
4.010371
8.626125
2025-12-27T09:13:08.090409
0.447458
3.914658
8.539984
2025-12-27T09:13:08.090499
0.473779
3.888337
8.650054
2025-12-27T09:13:08.090589
0.358923
3.87398
8.788837
2025-12-27T09:13:08.090679
0.244068
3.929015
8.95155
2025-12-27T09:13:08.090774
0.12682
3.902694
9.090333
2025-12-27T09:13:08.090869
0.114855
3.893122
9.116654
2025-12-27T09:13:08.090963
0.153141
3.924229
9.001799
2025-12-27T09:13:08.091054
0.244068
3.89073
8.736196
2025-12-27T09:13:08.091148
0.404387
3.933801
8.597412
2025-12-27T09:13:08.091238
0.555135
3.948157
8.415557
2025-12-27T09:13:08.091329
0.72024
3.917051
8.233703
2025-12-27T09:13:08.091420
0.870987
3.917051
8.066205
2025-12-27T09:13:08.091525
1.071985
3.952943
7.922636
2025-12-27T09:13:08.091637
1.249054
3.998407
7.712068
2025-12-27T09:13:08.091729
1.438086
4.027121
7.456035
2025-12-27T09:13:08.091838
1.612763
4.070191
7.235896
2025-12-27T09:13:08.091933
1.737189
4.180261
7.152147
2025-12-27T09:13:08.092041
1.741975
4.182654
7.257431
2025-12-27T09:13:08.092131
1.624727
4.113262
7.408179
2025-12-27T09:13:08.092220
1.490729
4.003192
7.551748
2025-12-27T09:13:08.092307
1.442872
3.955336
7.690532
2025-12-27T09:13:08.092394
1.438086
3.902694
7.865208
2025-12-27T09:13:08.092481
1.488336
3.895515
8.13799
2025-12-27T09:13:08.092582
1.548156
3.95055
8.484949
2025-12-27T09:13:08.092675
1.493121
4.072584
8.740981
2025-12-27T09:13:08.092773
1.380659
4.232904
8.877372
2025-12-27T09:13:08.092864
1.330409
4.347759
8.925228
2025-12-27T09:13:08.092952
1.397408
4.395615
8.853444
2025-12-27T09:13:08.093039
1.402194
4.395615
8.712267
2025-12-27T09:13:08.093127
1.488336
4.319045
8.525627
2025-12-27T09:13:08.093217
1.677369
4.206582
8.405986
2025-12-27T09:13:08.093361
1.976472
4.180261
8.405986
2025-12-27T09:13:08.094317
2.210968
4.261617
8.767303
2025-12-27T09:13:08.094538
2.26361
4.319045
9.300901
2025-12-27T09:13:08.094650
2.242075
4.165904
9.743574
2025-12-27T09:13:08.094748
2.081756
3.842873
9.999606
2025-12-27T09:13:08.094834
1.988436
3.582056
10.167104
2025-12-27T09:13:08.094919
1.995614
3.4672
10.269995
2025-12-27T09:13:08.095001
2.091327
3.512664
10.334601
2025-12-27T09:13:08.305445
2.301895
3.713661
10.353744
2025-12-27T09:13:08.305734
2.569892
3.945765
10.353744
2025-12-27T09:13:08.305873
2.835495
4.134798
10.427921
2025-12-27T09:13:08.305987
3.06042
4.259224
10.652846
2025-12-27T09:13:08.306090
3.335595
4.486542
11.162518
2025-12-27T09:13:08.306188
3.333202
4.622933
11.787045
2025-12-27T09:13:08.306289
3.091527
4.362116
11.889936
2025-12-27T09:13:08.306379
2.806781
4.24726
11.904293
2025-12-27T09:13:08.306473
3.120241
4.788038
12.270394
2025-12-27T09:13:08.306565
2.541178
4.57747
12.550355
2025-12-27T09:13:08.306665
1.854438
4.283153
12.452249
2025-12-27T09:13:08.306755
1.533799
4.197011
12.299109
2025-12-27T09:13:08.306845
1.261018
4.122833
12.189038
2025-12-27T09:13:08.306934
1.026521
3.955336
12.157932
2025-12-27T09:13:08.307023
0.954736
3.742375
12.050255
2025-12-27T09:13:08.307104
0.949951
3.620341
11.911471
2025-12-27T09:13:08.307183
0.98345
3.565306
11.765509
2025-12-27T09:13:08.528297
1.155733
3.634698
11.708081
2025-12-27T09:13:08.528865
1.359123
3.704089
11.619547
2025-12-27T09:13:08.529054
1.445265
3.661019
11.46162
End of preview. Expand in Data Studio

Hand Detection Training Data

This folder contains sensor data collected from mobile devices for training the hand detection model.

Overview

The dataset includes accelerometer and gyroscope readings from 2 subjects, each holding a device with both their left and right hands. This data is used to train the Random Forest classifier that achieves 94.6% accuracy in detecting which hand is holding the device.

Directory Structure

hand_data/
├── accelerometer/          # Accelerometer sensor data (primary)
│   ├── s-1_left_hand.csv   # Subject 1, left hand (39,102 samples)
│   ├── s-1_right_hand.csv  # Subject 1, right hand (30,528 samples)
│   ├── s-2_left_hand.csv   # Subject 2, left hand (44,724 samples)
│   └── s-2_right_hand.csv  # Subject 2, right hand (35,408 samples)
│
└── gyrocop/                # Gyroscope data (supplementary)
    ├── s-1_left_hand.csv   # Subject 1, left hand
    └── s-1_right_hand.csv  # Subject 1, right hand

Data Format

Accelerometer Data

Each CSV file contains timestamped 3-axis accelerometer readings:

Column Type Description
timestamp datetime ISO 8601 format (e.g., 2025-12-27T09:13:07.598506)
x float X-axis acceleration (m/s²)
y float Y-axis acceleration (m/s²)
z float Z-axis acceleration (m/s²)

Example:

timestamp,x,y,z
2025-12-27T09:13:07.598506,0.849452,3.895515,8.087741
2025-12-27T09:13:08.083118,0.727418,4.000800,8.099705

Gyroscope Data

Similar structure with angular velocity measurements (°/s).

Dataset Statistics

Total Samples

  • Subject 1 (Left): 39,102 samples
  • Subject 1 (Right): 30,528 samples
  • Subject 2 (Left): 44,724 samples
  • Subject 2 (Right): 35,408 samples
  • Total: 149,762 samples

Collection Method

  • Device: Mobile phone with accelerometer sensor
  • Sampling rate: ~50-100 Hz (varies)
  • Duration: Multiple sessions per subject/hand
  • Environment: Normal daily usage patterns

Data Characteristics

X-Axis (Left/Right Tilt)

  • Primary discriminator for hand detection
  • Left hand: Positive values (device tilts right)
  • Right hand: Negative values (device tilts left)
  • Statistical significance: p < 0.000001

Y-Axis (Forward/Backward Tilt)

  • Secondary feature
  • Shows hand-specific patterns
  • Less discriminative than X-axis

Z-Axis (Vertical)

  • Represents gravity component
  • Generally around 9.8 m/s² when stationary
  • Varies with device orientation

Magnitude

  • Calculated: √(x² + y² + z²)
  • Overall movement intensity
  • Helps distinguish activity levels

Usage in Training

This data is used in ../which_hand_you_use.ipynb for:

  1. Exploratory Data Analysis (EDA)

    • Distribution analysis
    • Statistical testing
    • Correlation analysis
    • Time series visualization
  2. Feature Engineering

    • Calculate magnitude
    • Window-based statistics (mean, std, min, max)
    • Temporal features (deltas, trends)
  3. Model Training

    • Single-point Random Forest (94.6% accuracy)
    • Windowed Random Forest (96%+ accuracy)
    • PCA for visualization

File Sizes

  • s-1_left_hand.csv: ~2.1 MB
  • s-1_right_hand.csv: ~1.7 MB
  • s-2_left_hand.csv: ~2.4 MB
  • s-2_right_hand.csv: ~2.0 MB

Total: ~8.2 MB (accelerometer only)

Data Quality

Completeness

✅ No missing values ✅ Continuous timestamps ✅ Consistent format across all files

Statistical Validation

✅ Normal distribution per axis ✅ Significant hand differences (p < 0.05) ✅ Consistent patterns across subjects

Privacy & Ethics

  • Data collected with informed consent
  • No personally identifiable information
  • Used solely for research purposes
  • Anonymized subject identifiers (S1, S2)

Collection Guidelines

If collecting additional data:

  1. Consistency: Use same device/settings
  2. Duration: Minimum 5-10 minutes per hand
  3. Activity: Natural usage (browsing, typing, etc.)
  4. Labeling: Clear hand identification
  5. Format: Match existing CSV structure

Notes

  • This data is excluded from git (see .gitignore)
  • Keep data locally or use Git LFS for large files
  • Model files are generated from this data
  • Data collection scripts in shared/ folder

Related Files


Last Updated: December 2025 Format Version: 1.0 Total Samples: 149,762

Downloads last month
-