﻿# OPPORTUNITY gesture and locomotion labels define different benchmark tasks

Keep OPPORTUNITY task columns, original gesture identities, Null handling, selected sensors, and preprocessing variants explicit when comparing activity-recognition models.

Author: Retrivium editorial team
Updated: 2026-11-04
Canonical URL: https://retrivium.ai/journal/fg2-opportunity-task-label-null-channel-selection/
Language: en

## One collection contains more than one prediction target

An activity-recognition comparison may download OPPORTUNITY, select a convenient label column, and report the score under the dataset name alone. That omits which recognition problem was evaluated. Locomotion and sporadic gestures describe different targets even when they share the same sensor recordings.

The [UCI collection record](https://archive.ics.uci.edu/dataset/226/opportunity+activity+recognition) describes body-worn, object, and ambient sensor sources. Preserve the original field definitions rather than assuming every distributed column is an input feature for one universal classification task.

## A published preprocessing recipe makes concrete selections

The [DeepConvLSTM preparation code](https://raw.githubusercontent.com/STRCWearlab/DeepConvLSTM/master/preprocess_data.py) selects sensor columns and chooses separate locomotion or gesture labels. Its processed representation is therefore a particular derivative of the collection, not every possible OPPORTUNITY input.

Keep that script revision with the model comparison. Copying only its final matrix shape does not reproduce its selected fields, interpolation, normalization, or source file partition. A similarly sized tensor may represent a different preparation procedure.

## Label remapping should retain original meanings

The recipe maps original labels into model indices. Save that mapping and the chosen task together. A gesture identifier and a locomotion index are not interchangeable simply because both occupy an integer target array.

The [data identity guide](/journal/data-guide-coco-instance-caption-identities/) explains why transformed identifiers need provenance. A classifier head can return a valid index while an incorrect inverse map gives it the wrong activity description.

## Null treatment changes the evaluation population

The [original DeepConvLSTM study](https://pmc.ncbi.nlm.nih.gov/articles/PMC4732148/) discusses evaluation with and without the Null class. Excluding background examples, excluding a class from a summary, and training without that class are different operations.

State which operation was performed. Keep the original timestamps and masks so removed periods do not silently become adjacent observations. A model evaluated only on relevant gestures does not thereby demonstrate recognition of when no relevant gesture occurs.

## Reproduce the derivative before comparing networks

Inspect selected source files, sensor columns, task labels, mapping, missing-value processing, and Null policy together. The [tensor-axis guide](/journal/tensor-axes-batch-sequence-hidden/) helps keep sensor and target fields separate throughout batching.

Correct reconstruction supports a comparison under that particular protocol. It does not establish equivalence with every result labeled OPPORTUNITY, continuous real-world recognition outside the source scenario, or measured robustness to sensors excluded by the selected preprocessing recipe.
