--- pretty_name: "Lendt et al. 2024 — thigh-worn accelerometry + energy expenditure, healthy adults" license: cc-by-4.0 language: - en tags: - accelerometry - wearable - energy-expenditure - indirect-calorimetry - time-series - human-activity-recognition - thigh-worn - physical-activity - movement-behaviour task_categories: - tabular-classification - other size_categories: - 100M **Gravitational calibration not applied.** > No autocalibration (e.g. sphere-fitting) has been > performed on the harmonized data. The `calibration` label marks the > 6-position static calibration block recorded before each session — > these rows can be used to derive and apply a gravitational calibration > if your downstream analysis requires it. ### Harmonization notes All 69 participants have both raw accelerometry and CPET data — no subjects excluded. Participants `plucky-python` and `royal-robin` have `dominant_leg` overridden to `right` in the participant manifest (`config.yaml`), matching the upstream `code/main.ipynb` correction — they follow the right-dominant (no y-negation) path. Per-participant demographics (split, gender, age, dominant_leg, height, weight, bmi, leg_length) are available in `participants.csv` at the repository root, also loadable as the `participants` dataset config — see [Loading](#loading). Label format uses bare base labels only (`stand`, `sit`, `walk`, `run`, `bicycle`). Stage intensity is preserved in the `variant`, `speed_kph`, `power_w`, and `incline_pct` columns rather than `base[modifier]` encoding — see [Label vocabulary](#label-vocabulary). ## Use Intended for energy expenditure estimation and human activity recognition from thigh-worn accelerometry. Predict `ee_kcal_min` or `met` from the `acc_x/y/z` signal, or `label` for HAR. With 69 subjects split into a predefined train/validation partition (the `split` column contains `train` or `test`), the standard evaluation protocol respects this split: **train on the train split, evaluate on the test split**. ## Loading Each subject is stored as a separate parquet file under `harmonized/`. Filenames are pseudonymized aliases (`happy-alpaca.parquet`, `brave-bison.parquet`, …). Every row carries a `subject` column with the same alias, so identity is preserved when loading all files together. Load train and test splits: ```python from datasets import load_dataset ds = load_dataset("josefheidler/har_ee_adults_2024-lendt") train_df = ds["train"].to_pandas() test_df = ds["test"].to_pandas() ``` Load all subjects into one table (both splits combined): ```python import pandas as pd import datasets ds = load_dataset("josefheidler/har_ee_adults_2024-lendt") df = pd.concat([ds["train"].to_pandas(), ds["test"].to_pandas()], ignore_index=True) ``` Load participant demographics: ```python from datasets import load_dataset participants = load_dataset( "josefheidler/har_ee_adults_2024-lendt", name="participants", )["participants"].to_pandas() ``` Load a single subject with pandas: ```python import pandas as pd df = pd.read_parquet( "hf://datasets/josefheidler/har_ee_adults_2024-lendt/harmonized/train/happy-alpaca.parquet" ) ``` ## Citation Lendt, C., Hansen, N., Froböse, I., & Stewart, T. (2024). Composite activity type and stride-specific energy expenditure estimation model for thigh-worn accelerometry. *International Journal of Behavioral Nutrition and Physical Activity*, *21*(1), 99. https://doi.org/10.1186/s12966-024-01646-y