﻿# So2Sat LCZ42: random, spatial-block and held-out-city splits test different transfer

Choose a So2Sat LCZ42 split scenario that matches the intended geographic transfer, and preserve corrected geolocation and loader calibration details.

Author: Retrivium editorial team
Updated: 2026-11-04
Canonical URL: https://retrivium.ai/journal/fg2-so2sat-lcz42-split-generalization-question/
Language: en

## Identify the urban target

So2Sat LCZ42 associates paired radar and optical patches with local climate-zone labels. The [dataset paper](https://arxiv.org/abs/1912.12171) explains the urban morphology setting and expert labeling process. The label is a scene-level urban category, not a direct measurement of every environmental outcome that might correlate with urban form. Frame the experiment around the classification target actually provided, then establish separate evidence for any proposed downstream application.

## Choose the transfer question deliberately

The [maintainer repository](https://github.com/zhu-xlab/So2Sat-LCZ42) describes releases with different partition scenarios, including random patches, spatial blocks and cities held out from training. These protocols answer different questions about generalization. Nearby patches can share geographic structure under a random split. A held-out-city result asks more directly whether a model works in unfamiliar urban environments. Neither score should be substituted for the other merely because both use the same label taxonomy.

## Preserve the selected geography artifacts

The repository also records corrected geolocation resources in later releases. If an experiment defines its own spatial holdout, the coordinate artifacts matter as much as the image files. Record the selected release and retain sample-to-location associations. Check boundary cases visually before calculating geographic groups, and distinguish missing coordinates from a real location value. Reusing an old metadata file beside newer imagery can invalidate the grouping rule without causing an ordinary array-loading error.

## Verify the loading representation

The [TensorFlow Datasets catalogue](https://www.tensorflow.org/datasets/catalog/so2sat) distinguishes the RGB representation from the fuller sensor configuration and records optical calibration changes in its version history. Pin the loader as well as the upstream dataset release. A result using RGB JPEG values is not directly the same input experiment as paired radar and optical channels. Keep transformations explicit when moving a checkpoint between training frameworks or an inference service.

## Report the result under its own protocol

For a useful comparison, hold the partition membership and input configuration fixed while changing the model. Report class-specific behavior and geographic variation when they matter to the task. The generic lessons in [group-aware splitting](/journal/data-guide-entity-group-split-design/) and [dataset version identity](/journal/data-guide-earthdata-product-granule-version/) support this process. So2Sat LCZ42 adds concrete release-dependent geographic scenarios and calibration artifacts that determine which urban transfer claim the experiment can support.
