﻿# UCR classification cases need archive splits and explicit normalization scope

Preserve UCR classification case identity, official train/test files, release-specific preprocessing, and the distinction between per-series scaling and learned dataset scaling.

Author: Retrivium editorial team
Updated: 2026-11-04
Canonical URL: https://retrivium.ai/journal/fg2-ucr-classification-case-splits-normalization-scope/
Language: en

## A collection row is not a forecast timeline

An engineer testing a temporal neural network may concatenate every UCR row, build windows across that array, and split the resulting windows. This discards the archive's case boundaries. Adjacent rows are independent classification examples, not necessarily consecutive segments of one continuously observed process.

The [UCR archive page](https://www.cs.ucr.edu/~eamonn/time_series_data_2018/) identifies datasets through separate train and test counts and series lengths. Preserve those units before adapting a model's preferred input shape.

## A convenient loader can merge the partitions

The [aeon classification loader](https://www.aeon-toolkit.org/en/stable/api_reference/auto_generated/aeon.datasets.load_classification.html) documents separate split selection and a default that loads both partitions together. Successful loading therefore does not establish that training data remain isolated from the evaluation partition.

Request partitions explicitly and retain case identifiers derived from source file and row. If a new split is studied, label it as a changed evaluation protocol rather than reporting its score as directly interchangeable with the archive split.

## Normalization needs an object and a fitting domain

The [archive paper](https://arxiv.org/abs/1810.07758) emphasizes careful evaluation and preprocessing when comparing algorithms. An application should distinguish scaling each series by its own statistics from fitting a shared scaler across training cases.

These choices use different information. Preserve the selected rule, source release, and whether data were already transformed. Do not fit a learned global preprocessing step on a concatenation of training and test data merely because a loader made that array convenient.

## Label encoding must remain invertible

A model head may require contiguous class indices while an archive file preserves different original labels. Keep an explicit map rather than interpreting a label's numeric magnitude as an ordinal target. Fit the mapping under the declared protocol and validate every evaluation label.

The [data identity guide](/journal/data-guide-coco-instance-caption-identities/) explains why transformed identifiers need recoverable correspondence. A case should remain linked to its original label and partition after shuffling, batching, and prediction export.

## Validate the data adapter before timing the model

Inspect a small set of cases from each source file. Check case counts, lengths, labels, preprocessing, and tensor axes, then confirm that a prediction joins back to the same case. Use the [tensor-axis guide](/journal/tensor-axes-batch-sequence-hidden/) to keep case and time axes distinct.

Correct preparation establishes a reproducible classification experiment. It does not turn the archive into a forecasting dataset, demonstrate performance on every UCR collection, or establish how an untested model behaves on live sensor streams.
