# Duke Breast Cancer

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

`libsvm:duke@1` · Registry `1.7.0`. Default version in this registry. 

Normalized gene expression profiles from human breast tumors for binary classification of estrogen receptor status. LIBSVM provides a 44-row dataset and a benchmark with 38 training and four validation rows drawn from it.  

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

## Dimensions and tasks

| Task | Type | Split | Samples | Predictors |
| --- | --- | --- | --- | --- |
| default | classification | full | 44 | 7,129 |
| benchmark | classification | tr | 38 | 7,129 |
| benchmark | classification | val | 4 | 7,129 |

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("libsvm:duke@1", 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("libsvm:duke@1", 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("libsvm:duke@1"; 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 'libsvm:duke@1'
```

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

## Representation and variables

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

| Component | Kind | Type | Shape |
| --- | --- | --- | --- |
| full/features | sparse\_matrix | float64 | 44 × 7,129 |
| full/response | vector | float64 | 44 |
| tr/features | sparse\_matrix | float64 | 38 × 7,129 |
| tr/response | vector | float64 | 38 |
| val/features | sparse\_matrix | float64 | 4 × 7,129 |
| val/response | vector | float64 | 4 |

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

## Preprocessing

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

### Upstream

Status: documented. 

LIBSVM reports two additional exclusions for failed array hybridization before the benchmark split. The full file includes two rows outside both benchmark partitions. 

**sample-selection.** Five of the original 49 samples had discordant receptor status across two assays and were omitted from the full LIBSVM file. 

**normalization.** Normalize each sample to mean zero and variance one. 

Parameters: axis: rows; mean: 0; variance: 1. 

**normalization.** Then normalize each feature to mean zero and variance one. 

Parameters: axis: columns; mean: 0; variance: 1. 

Evidence: [https://www.csie.ntu.edu.tw/~cjlin/libsvmtools/datasets/binary.html\#duke%20breast-cancer](<https://www.csie.ntu.edu.tw/~cjlin/libsvmtools/datasets/binary.html#duke%20breast-cancer>) 

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

### Datamonger

Status: none. 

Evidence: spec/decoders/named-splits-v1.md, spec/decoders/libsvm-v1.md 

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

## Provenance and citation

Provider: LIBSVM. Upstream name: duke breast-cancer. Retrieved: 2026-11-18. 

[Original source](<https://www.csie.ntu.edu.tw/~cjlin/libsvmtools/datasets/binary.html#duke%20breast-cancer>) 

Authors: Mike West, Carrie Blanchette, Holly Dressman, Erich Huang, Seiichi Ishida, Rainer Spang, Harry Zuzan, John A. Olson Jr., Jeffrey R. Marks, Joseph R. Nevins. 

West et al. (2001). Predicting the clinical status of human breast cancer by using gene expression profiles. PNAS 98(20), 11462–11467. [https://doi.org/10.1073/pnas.201162998](<https://doi.org/10.1073/pnas.201162998>). 

Shevade and Keerthi (2003). A simple and efficient algorithm for gene selection using sparse logistic regression. Bioinformatics 19(17), 2246–2253. 

LIBSVM cites this paper for preprocessing and the benchmark split. 

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

## License

Unknown 

The LIBSVM catalog provides downloads without dataset-specific license terms. The original article carries a National Academy of Sciences copyright notice and does not establish a license for the LIBSVM files.  

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

## Artifacts

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

| Artifact | Format | Compression | Size | Distribution | Preservation |
| --- | --- | --- | --- | --- | --- |
| full | libsvm | bzip2 | 1.6 MiB | upstream-only | unknown |
| tr | libsvm | bzip2 | 1.4 MiB | upstream-only | unknown |
| val | libsvm | bzip2 | 148.0 KiB | upstream-only | unknown |

[full: upstream](<https://www.csie.ntu.edu.tw/~cjlin/libsvmtools/datasets/binary/duke.bz2>) 

[tr: upstream](<https://www.csie.ntu.edu.tw/~cjlin/libsvmtools/datasets/binary/duke.tr.bz2>) 

[val: upstream](<https://www.csie.ntu.edu.tw/~cjlin/libsvmtools/datasets/binary/duke.val.bz2>) 

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

## Versions in this registry

[1](<1>) (default) 

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

## Registry record

Download the [complete registry record](<../../../assets/c86ec767e898a4de06a08519d9efc3a8b288e73cd9a86aafd57ea5f08285accb.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`.
