Dataset Viewer
Auto-converted to Parquet Duplicate
subject
large_stringclasses
35 values
timestamp
timestamp[us, tz=Europe/Berlin]date
2022-07-05 10:42:31+0200
2022-12-08 13:17:59+0100
acc_x
float64
-2.95
4.01
acc_y
float64
-3.73
3.71
acc_z
float64
-3.64
3.73
condition
large_stringclasses
2 values
label
large_stringclasses
8 values
variant
large_stringclasses
9 values
speed_kph
float64
1.8
10.1
power_w
float64
50
100
bold-badger
2022-07-29T07:44:52.734000
0.056
-0.832
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:52.814000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:52.894000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:52.975000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:53.055000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:53.136000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:53.216000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:53.297000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:53.377000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:53.458000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:53.538000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:53.619000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:53.699000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:53.779000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:53.860000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:53.940000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:54.021000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:54.101000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:54.182000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:54.262000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:54.343000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:54.423000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:54.504000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:54.584000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:54.664000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:54.745000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:54.825000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:54.906000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:54.986000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:55.067000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:55.147000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:55.228000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:55.308000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:55.389000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:55.469000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:55.549000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:55.630000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:55.710000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:55.791000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:55.871000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:55.952000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:56.032000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:56.113000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:56.193000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:56.274000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:56.354000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:56.434000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:56.515000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:56.595000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:56.676000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:56.756000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:56.837000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:56.917000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:56.998000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:57.078000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:57.159000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:57.239000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:57.319000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:57.400000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:57.480000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:57.561000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:57.641000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:57.722000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:57.802000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:57.883000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:57.963000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:58.044000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:58.124000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:58.204000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:58.285000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:58.365000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:58.446000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:58.526000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:58.607000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:58.687000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:58.768000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:58.848000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:58.929000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:59.009000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:59.089000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:59.170000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:59.250000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:59.331000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:59.411000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:59.492000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:59.572000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:59.653000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:59.733000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:59.814000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:59.894000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:44:59.975000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:45:00.055000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:45:00.135000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:45:00.216000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:45:00.296000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:45:00.377000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:45:00.457000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:45:00.538000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:45:00.618000
0.072
-1.016
0.008
null
null
null
null
null
bold-badger
2022-07-29T07:45:00.699000
0.072
-1.016
0.008
null
null
null
null
null
End of preview. Expand in Data Studio

Lendt et al. 2024 — thigh-worn accelerometry, healthy adults

Thigh-worn accelerometry (SENS motion, 12.5 Hz, ±4 g) with video-labelled activity ground truth in 35 healthy adults (lab) / 32 (free-living), covering both a laboratory protocol and ≈1 h of annotated free-living per subject. Harmonized from the original Zenodo release into per-subject parquet — one row per raw accelerometer sample, with 1 Hz activity labels asof-joined on.

35 participants, 6.9 M samples, 40 % labelled, 61.3 h labeled.

Source

  • Paper: Lendt, C., Braun, T., Biallas, B., Froböse, I., & Johansson, P. J. (2024). Thigh-worn accelerometry: A comparative study of two no-code classification methods for identifying physical activity types. International Journal of Behavioral Nutrition and Physical Activity, 21(1), 77. https://doi.org/10.1186/s12966-024-01627-1
  • Raw data: Zenodo record 12704412
  • License: CC-BY-4.0

Protocol

  • Participants: 38 recruited (30.8 ± 9.6 y, 53 % female); 35 included in lab, 32 in free-living — see Harmonization notes.
  • Sensor: SENS motion (SENS Innovation, Denmark). Triaxial accelerometer, ±4 g, 12.5 Hz fixed. Adhesive patch on the right lateral thigh, 10 cm above the lateral epicondyle (harmonized data transformed to front-thigh frame — see Axis orientation).
  • Lab: ≈46 min per subject across 14 sub-conditions of 3–5 min each — 6 activity types: stand; sit; lie[supine], lie[side], lie[prone]; treadmill walk at 0.5 / 0.8 / 1.2 m·s⁻¹; treadmill run at 1.8 / 2.3 / 2.8 m·s⁻¹; cycle ergometer bicycle at 50 W/40 rpm, 75 W/60 rpm, 100 W/80 rpm. Transitions and waiting periods between sub-conditions are unlabelled.
  • Free-living: ≈60 min per subject of unrestricted activity (cycling encouraged), video-annotated throughout.
  • Cohort-wide labelled reference: 61.3 h (26.7 h lab + 34.6 h free-living).

Ground-truth provenance

  • Lab: timestamps logged manually via a custom R Shiny app at activity onsets.
  • Free-living: chest-mounted GoPro Hero 4 Black (30 fps, 1920×1080), frame-by-frame annotation in ELAN v6.4 by a single rater. Inter-rater Kappa 0.95 on 5 double-coded videos.
  • Reference resolution: 1 s (start/end rounded).
  • Sensor–video sync: 3 heel drops separated by 15 s rest. Lab sync via sensor flip.

Schema

All timestamps are tz-aware Europe/Berlin (recording-site local time).

column dtype notes
subject string pseudonymized alias, e.g. happy-otter
timestamp timestamp[ns, Europe/Berlin] ~80 ms cadence (12.5 Hz)
acc_x float64 hub standard frame (x=up), units = g
acc_y float64 hub standard frame (y=right), units = g
acc_z float64 hub standard frame (z=forward), units = g
condition string (nullable) laboratory | free-living; null where label is null
label string (nullable) activity label; null outside any labeled window
variant string (nullable) intensity tier or form variant; null for uncharacterised activities
speed_kph float64 (nullable) treadmill speed in km/h (walk/run lab stages only)
power_w float64 (nullable) cycling power in W (bicycle lab stages only)

Example rows:

subject      timestamp                   condition    label     variant           speed_kph  power_w
happy-otter  2022-06-01 09:14:32+02:00   laboratory   stand     null              null       null
happy-otter  2022-06-01 09:22:10+02:00   laboratory   walk      slow              1.8        null
happy-otter  2022-06-01 09:35:00+02:00   laboratory   bicycle   fast              null       100.0
happy-otter  2022-06-01 09:55:12+02:00   laboratory   lie       supine            null       null
happy-otter  2022-06-01 10:02:15+02:00   free-living  walk      null              null       null
happy-otter  2022-06-01 10:15:30+02:00   free-living  bicycle   pedalling-seated  null       null
happy-otter  2022-06-01 09:13:01+02:00   null         null      null              null       null

Label vocabulary

label and variant are stored in separate columns. variant is null for activities with no controlled intensity or characterised form.

label values (8): bicycle, lie, run, shuffle, sit, stairs, stand, walk.

Label glossary

Full meaning of every (label, variant) combination in the dataset:

label variant condition meaning labeled min
bicycle slow laboratory Cycle ergometer 50 W / 40 rpm 104.5
bicycle moderate laboratory Cycle ergometer 75 W / 60 rpm 104.7
bicycle fast laboratory Cycle ergometer 100 W / 80 rpm 104.9
bicycle pedalling-seated free-living Cycling seated on saddle, actively pedalling 237.2
bicycle coasting free-living Cycling without pedalling (downhill / momentum); seated/standing posture not distinguished in free-living annotation 49.4
bicycle pedalling-standing free-living Cycling while standing on pedals 10.3
lie supine laboratory Lying on back, face up 104.9
lie side laboratory Lying on side 104.9
lie prone laboratory Lying face down 104.9
lie free-living Lying; specific posture not recorded 41.9
run slow laboratory Treadmill 6.48 km/h (1.8 m/s) 104.9
run moderate laboratory Treadmill 8.28 km/h (2.3 m/s) 104.9
run fast laboratory Treadmill 10.08 km/h (2.8 m/s) 101.9
run free-living Running; speed uncontrolled 134.9
shuffle free-living Standing with small continuous body movements (dynamic standing) 76.0
sit laboratory Sedentary; seated at rest 174.8
sit free-living Sedentary; seated at rest 722.8
stairs free-living Stair climbing 13.1
stand laboratory Upright, stationary standing 174.7
stand free-living Upright, stationary standing 220.1
walk slow laboratory Treadmill 1.8 km/h (0.5 m/s) 104.9
walk moderate laboratory Treadmill 2.88 km/h (0.8 m/s) 104.9
walk fast laboratory Treadmill 4.32 km/h (1.2 m/s) 104.9
walk free-living Walking; speed uncontrolled 569.3

Total labeled: 3,680 min / 61.3 h across 35 participants (lab) / 32 (free-living).

Coverage

Every raw accelerometer sample is kept, even when no ground-truth label covers it — typically in-lab transitions between sub-conditions or pre/post-protocol margins. Each sample carries the most recent ground-truth label whose 1 Hz timestamp falls at or before the sample's timestamp, within 1 s; samples outside any labelled window have label = null and condition = null.

Cohort-wide: 6.9 M samples, 40 % (2.76 M) labelled. Per-subject labelled fraction ranges from 17 % to 75 %. Filter with df[df['label'].notna()] to keep only labelled rows.

Axis orientation

Accelerometer values are not raw SENS motion output. They are transformed into the hub standard axis convention, shared across all datasets on this hub:

  • acc_x runs along the thigh toward the head — reads +1 g when the person stands upright.
  • acc_y points to the person's right — positive when tilting right, negative when tilting left.
  • acc_z points forward — positive when leaning or stepping forward, negative when leaning backward.
  • At rest standing upright: acc_x ≈ +1 g, acc_y ≈ 0, acc_z ≈ 0.

Harmonized accelerometer data is presented in a front-thigh frame — as if the sensor were mounted on the anterior surface of the thigh. The physical sensor (SENS motion) was originally worn on the right lateral thigh (10 cm above the lateral epicondyle); two corrections transform the native lateral-thigh axes to the front-thigh convention:

Native lateral-thigh axes (standing upright): X=down, Y=forward (anterior), Z=left (medial).

  1. Negate xacc_x ← -acc_x. X=down → x=up.
  2. Rotate 90° about x(acc_y, acc_z) ← (-acc_z, acc_y). Y=forward (anterior), Z=left (medial) → y=right, z=forward. This rotation accounts for the ~90° angular difference between lateral and anterior thigh placement.

The result is identical to hub-standard front-thigh data (consistent with the HARTH thigh sensor and all other datasets on this hub).

For raw SENS-native (lateral-thigh) values, ingest the upstream Zenodo record directly (record 12704412).

Harmonization notes

Participant exclusions: 35 of 38 included — 3 dropped for missing upstream annotations; a further 3 dropped from free-living for sensor detachment / poor video (free-living n = 32).

Per-sample exclusions:

  • merry-ocelot: run[fast] segments dropped (author-flagged invalid).

clever-lynx's free-living annotations are merged from two upstream folders (both windows from the same continuous recording).

Use

Intended for human activity recognition (HAR) from thigh-worn accelerometry — predicting label (8-class) from the acc_x/y/z signal. The original paper collapses these into 5 classes: sedentary, standing, walking, running, cycling.

The standard evaluation protocol is leave-one-subject-out (LOSO) cross-validation: 35 folds for lab data, 32 for free-living (3 subjects have lab data only). Avoid random row-level splits — they leak temporal and subject-level context across folds.

Loading

Each subject is stored as a separate parquet file under harmonized/. Filenames are pseudonymized aliases (happy-otter.parquet, clever-lynx.parquet, …). Every row carries a subject column with the same alias, so identity is preserved when loading all files together.

Load all subjects into one table:

from datasets import load_dataset

ds = load_dataset("josefheidler/har_adults_2024-lendt")
df = ds["train"].to_pandas()

Load a single subject with pandas:

import pandas as pd

df = pd.read_parquet(
    "hf://datasets/josefheidler/har_adults_2024-lendt/harmonized/happy-otter.parquet"
)

Load all subjects individually (preserving identity):

import pandas as pd
from huggingface_hub import HfFileSystem

fs = HfFileSystem()
files = fs.glob("datasets/josefheidler/har_adults_2024-lendt/harmonized/*.parquet")
dfs = {
    f.split("/")[-1].replace(".parquet", ""): pd.read_parquet(f"hf://{f}")
    for f in files
}

Citation

Lendt, C., Braun, T., Biallas, B., Froböse, I., & Johansson, P. J. (2024). Thigh-worn accelerometry: A comparative study of two no-code classification methods for identifying physical activity types. International Journal of Behavioral Nutrition and Physical Activity, 21(1), 77. https://doi.org/10.1186/s12966-024-01627-1

Downloads last month
1,131