TECHNOLOGY

UCI HAR subject splits must survive overlapping-window model preparation

In this article
THE QUICK TAKE

An overlapping sensor window is a sample from a participant, not a new independent participant.

A row-level split changes who is held out

A neural activity classifier may shuffle all UCI HAR windows before dividing training and evaluation. This can place windows from the same participant on both sides. The resulting task differs from evaluating participants excluded from training, even when the class proportions look similar.

The UCI HAR record documents a participant-based partition. Preserve the supplied subject identifiers with every window instead of discarding them after reading the activity label.

The collection uses fixed sensor windows with overlap. Neighboring windows can therefore share measurements. They should not be described as independent people or unrelated acquisitions simply because they occupy different rows in a feature matrix.

The original dataset paper explains the acquisition and representation workflow. Keep its observation unit distinct from the unit of generalization being claimed in an evaluation report.

Prepared features and inertial windows are different inputs

The release contains window-level engineered features as well as prepared inertial signal representations. Passing the engineered feature axis into a temporal model does not automatically recreate the original sensor timeline. Feature columns can summarize time and frequency properties rather than enumerate consecutive measurements.

The tensor-axis guide helps identify that boundary. State which release files and representation were used, including signal channel names, instead of describing every input array as raw smartphone data.

Group-aware validation needs the actual group map

For a custom participant-level validation split, the GroupShuffleSplit reference provides group-based separation. Supply participant identity as the grouping variable, not the activity label or a newly generated row number.

A group splitter does not infer scientific independence. The application must choose and preserve the relevant grouping. Keep any custom split distinct from the official test partition and fit learned preprocessing only on the permitted training evidence.

Audit participant overlap explicitly

List participants represented in training, validation, and test, then inspect case-to-subject and case-to-label joins after batching. Confirm that any declared participant holdout has no shared participant identifiers across its boundary.

The data identity guide explains why those sidecar identities matter. Correct grouping supports the stated benchmark protocol, but it does not establish generalization to another phone position, unseen activity taxonomy, or an unrestricted population outside the documented acquisition setting.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles