# Gisette: original challenge feature values

[Browse datasets](<../../>) 

`datamonger:guyon2004-gisette@2` · Registry `1.7.0`. Default version in this registry. 

Digit 4-versus-9 classification data from the NIPS 2003 feature selection challenge, prepared from UCI without further scaling. Preserves 6,000 labeled training rows, 1,000 labeled validation rows, and 6,500 unlabeled test rows with 5,000 features. Training and validation retain original -1/+1 labels and sparse storage; test features are a dense table with positional columns x1 through x5000. Feature identities and label-to-digit mappings are not established. 

<a id="dimensions-and-tasks"></a>

## Dimensions and tasks

| Task | Type | Split | Samples | Predictors |
| --- | --- | --- | --- | --- |
| default | classification | test | 6,500 | 5,000 |
| default | classification | train | 6,000 | 5,000 |
| default | classification | validation | 1,000 | 5,000 |

Predictor counts follow each task's feature selection and exclude targets and identifiers. Sample counts are reported separately for each split. 

<a id="retrieve"></a>

## Retrieve

These examples pin both the dataset version and the registry's exact index. An uncached dataset requires network access to its source. The CLI retrieves verified artifacts. The language clients also decode them. 

<a id="python"></a>

### Python

```python
from datamonger import Registry, fetch_data

registry = Registry(
    release="1.7.0",
    index_sha256="0837dbe2f30bb1235de74b6bd4075aec46ff065ad9d5a408df4cec7a7178fa6e",
    index_url="https://github.com/jolars/datamonger/releases/download/registry-v1.7.0/index.json",
)
data = fetch_data("datamonger:guyon2004-gisette@2", registry=registry)
```

<a id="r"></a>

### R

```r
library(datamonger)

registry <- registry_selector(
  release = "1.7.0",
  index_sha256 = "0837dbe2f30bb1235de74b6bd4075aec46ff065ad9d5a408df4cec7a7178fa6e",
  index_url = "https://github.com/jolars/datamonger/releases/download/registry-v1.7.0/index.json"
)
data <- fetch_data("datamonger:guyon2004-gisette@2", registry = registry)
```

<a id="julia"></a>

### Julia

```julia
using Datamonger

registry = registry_selector(
    "1.7.0",
    "0837dbe2f30bb1235de74b6bd4075aec46ff065ad9d5a408df4cec7a7178fa6e",
    "https://github.com/jolars/datamonger/releases/download/registry-v1.7.0/index.json",
)
data = fetch_data("datamonger:guyon2004-gisette@2"; registry=registry)
```

<a id="cli"></a>

### CLI

```sh
cat > datamonger-registry.json <<'JSON'
{
  "index_sha256": "0837dbe2f30bb1235de74b6bd4075aec46ff065ad9d5a408df4cec7a7178fa6e",
  "index_url": "https://github.com/jolars/datamonger/releases/download/registry-v1.7.0/index.json",
  "release": "1.7.0",
  "schema_version": 1
}
JSON
datamonger --selector datamonger-registry.json fetch 'datamonger:guyon2004-gisette@2'
```

<a id="representation-and-variables"></a>

## Representation and variables

Tabular data with a sparse representation. Decoder: `named-splits` version 1. 

| Component | Kind | Type | Shape |
| --- | --- | --- | --- |
| train/features | sparse\_matrix | float64 | 6,000 × 5,000 |
| train/response | vector | int64 | 6,000 |
| validation/features | sparse\_matrix | float64 | 1,000 × 5,000 |
| validation/response | vector | int64 | 1,000 |
| test/x1 | vector | int64 | 6,500 |
| test/x2 | vector | int64 | 6,500 |
| test/x3 | vector | int64 | 6,500 |
| test/x4 | vector | int64 | 6,500 |
| test/x5 | vector | int64 | 6,500 |
| test/x6 | vector | int64 | 6,500 |
| test/x7 | vector | int64 | 6,500 |
| test/x8 | vector | int64 | 6,500 |
| test/x9 | vector | int64 | 6,500 |
| test/x10 | vector | int64 | 6,500 |
| test/x11 | vector | int64 | 6,500 |
| test/x12 | vector | int64 | 6,500 |
| test/x13 | vector | int64 | 6,500 |
| test/x14 | vector | int64 | 6,500 |
| test/x15 | vector | int64 | 6,500 |
| test/x16 | vector | int64 | 6,500 |
| test/x17 | vector | int64 | 6,500 |
| test/x18 | vector | int64 | 6,500 |
| test/x19 | vector | int64 | 6,500 |
| test/x20 | vector | int64 | 6,500 |
| test/x21 | vector | int64 | 6,500 |
| test/x22 | vector | int64 | 6,500 |
| test/x23 | vector | int64 | 6,500 |
| test/x24 | vector | int64 | 6,500 |
| test/x25 | vector | int64 | 6,500 |
| test/x26 | vector | int64 | 6,500 |

Showing 30 of 5,004 components. The [complete registry record](<../../../assets/264974b6b280d38aa1d33bbe53d8cf010149b72e01d57b1de805a88e4589de47.bin>) contains every variable name and task binding. 

<a id="preprocessing"></a>

## Preprocessing

<a id="upstream"></a>

### Upstream

Status: documented. 

These are prepared challenge features, not raw images. The UCI integers range from 0 to 999. No LIBSVM scaling is used. 

**feature-encoding.** The producers normalize and center digit images, sample pixels, construct pixel products, add distractor probes, and randomize feature and example order. 

Evidence: [https://archive.ics.uci.edu/dataset/170/gisette](<https://archive.ics.uci.edu/dataset/170/gisette>) 

<a id="datamonger"></a>

### Datamonger

Status: none. 

Only lossless file conversion and gzip compression are applied. Feature values, labels, ordering, and source splits are preserved. 

Evidence: curation/guyon2004-gisette/1/prepare.py, curation/guyon2004-gisette/1/DATASET.md 

<a id="provenance-and-citation"></a>

## Provenance and citation

Provider: Datamonger; derived from UCI Gisette. Upstream name: Gisette. Retrieved: 2026-11-08. 

[Original source](<https://archive.ics.uci.edu/dataset/170/gisette>) 

Authors: Isabelle Guyon, Steve Gunn, Asa Ben-Hur, Gideon Dror. 

Guyon, I., Gunn, S., Ben-Hur, A., and Dror, G. (2004). Gisette \[Dataset\]. UCI Machine Learning Repository. [https://doi.org/10.24432/C5HP5B](<https://doi.org/10.24432/C5HP5B>). 

Guyon, I., Gunn, S., Ben-Hur, A., and Dror, G. (2004). Result Analysis of the NIPS 2003 Feature Selection Challenge. Advances in Neural Information Processing Systems 17. [https://proceedings.neurips.cc/paper\_files/paper/2004/hash/5e751896e527c862bf67251a474b3819-Abstract.html](<https://proceedings.neurips.cc/paper_files/paper/2004/hash/5e751896e527c862bf67251a474b3819-Abstract.html>) 

Datamonger portable artifacts, version 1: [https://doi.org/10.5281/zenodo.23508592](<https://doi.org/10.5281/zenodo.23508592>). Registry representation version 2 assembles the same files with named splits. 

<a id="license"></a>

## License

CC-BY-4.0 

[License information](<https://creativecommons.org/licenses/by/4.0/>) 

The UCI Gisette landing page ([https://archive.ics.uci.edu/dataset/170/gisette)](<https://archive.ics.uci.edu/dataset/170/gisette%29>) explicitly licenses the dataset under CC BY 4.0. This representation preserves the original feature values, available labels, and split membership; it changes file encoding and compression only. 

<a id="artifacts"></a>

## Artifacts

Total download: 25.4 MiB. Sizes describe the distributed files, including any compression. 

| Artifact | Format | Compression | Size | Distribution | Preservation |
| --- | --- | --- | --- | --- | --- |
| train | libsvm | gzip | 13.0 MiB | mirror | durable |
| validation | libsvm | gzip | 2.2 MiB | mirror | durable |
| test | csv | gzip | 10.2 MiB | mirror | durable |

[train: mirror](<https://zenodo.org/api/records/23508592/files/train.libsvm.gz/content>) 

[Preservation deposit](<https://doi.org/10.5281/zenodo.23508592>) 

[validation: mirror](<https://zenodo.org/api/records/23508592/files/validation.libsvm.gz/content>) 

[Preservation deposit](<https://doi.org/10.5281/zenodo.23508592>) 

[test: mirror](<https://zenodo.org/api/records/23508592/files/test-features.csv.gz/content>) 

[Preservation deposit](<https://doi.org/10.5281/zenodo.23508592>) 

<a id="versions-in-this-registry"></a>

## Versions in this registry

[2](<2>) (default) 

<a id="registry-record"></a>

## Registry record

Download the [complete registry record](<../../../assets/264974b6b280d38aa1d33bbe53d8cf010149b72e01d57b1de805a88e4589de47.bin>), [registry selector](<../../../assets/e26e5807615f3888a588180156617f46fb2ac56bccb1299e491860fe7a89295f.bin>), or [full registry index](<https://github.com/jolars/datamonger/releases/download/registry-v1.7.0/index.json>). 

Index SHA-256: `0837dbe2f30bb1235de74b6bd4075aec46ff065ad9d5a408df4cec7a7178fa6e`.
