# Breast Cancer Wisconsin (Diagnostic)

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

`uci:breast-cancer-wisconsin-diagnostic@1` · Registry `1.2.0`. Default version in this registry. 

Diagnostic breast-mass features computed from digitized fine-needle aspirate images and distributed by the UCI Machine Learning Repository. 

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

## Dimensions and tasks

| Task | Type | Split | Samples | Predictors |
| --- | --- | --- | --- | --- |
| default | classification | — | 569 | 30 |

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.2.0",
    index_sha256="4b4e6aeb71ad7e53c3596a725e62008c76c27a59ac68c53a02432898ec8b6f21",
    index_url="https://github.com/jolars/datamonger/releases/download/registry-v1.2.0/index.json",
)
data = fetch_data("uci:breast-cancer-wisconsin-diagnostic@1", registry=registry)
```

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

### R

```r
library(datamonger)

registry <- registry_selector(
  release = "1.2.0",
  index_sha256 = "4b4e6aeb71ad7e53c3596a725e62008c76c27a59ac68c53a02432898ec8b6f21",
  index_url = "https://github.com/jolars/datamonger/releases/download/registry-v1.2.0/index.json"
)
data <- fetch_data("uci:breast-cancer-wisconsin-diagnostic@1", registry = registry)
```

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

### Julia

```julia
using Datamonger

registry = registry_selector(
    "1.2.0",
    "4b4e6aeb71ad7e53c3596a725e62008c76c27a59ac68c53a02432898ec8b6f21",
    "https://github.com/jolars/datamonger/releases/download/registry-v1.2.0/index.json",
)
data = fetch_data("uci:breast-cancer-wisconsin-diagnostic@1"; registry=registry)
```

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

### CLI

```sh
cat > datamonger-registry.json <<'JSON'
{
  "index_sha256": "4b4e6aeb71ad7e53c3596a725e62008c76c27a59ac68c53a02432898ec8b6f21",
  "index_url": "https://github.com/jolars/datamonger/releases/download/registry-v1.2.0/index.json",
  "release": "1.2.0",
  "schema_version": 1
}
JSON
datamonger --selector datamonger-registry.json fetch 'uci:breast-cancer-wisconsin-diagnostic@1'
```

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

## Representation and variables

Tabular data with a dense representation. Decoder: `delimited-text` version 1. 

| Component | Kind | Type | Shape |
| --- | --- | --- | --- |
| ID | vector | int64 | 569 |
| radius1 | vector | float64 | 569 |
| texture1 | vector | float64 | 569 |
| perimeter1 | vector | float64 | 569 |
| area1 | vector | float64 | 569 |
| smoothness1 | vector | float64 | 569 |
| compactness1 | vector | float64 | 569 |
| concavity1 | vector | float64 | 569 |
| concave\_points1 | vector | float64 | 569 |
| symmetry1 | vector | float64 | 569 |
| fractal\_dimension1 | vector | float64 | 569 |
| radius2 | vector | float64 | 569 |
| texture2 | vector | float64 | 569 |
| perimeter2 | vector | float64 | 569 |
| area2 | vector | float64 | 569 |
| smoothness2 | vector | float64 | 569 |
| compactness2 | vector | float64 | 569 |
| concavity2 | vector | float64 | 569 |
| concave\_points2 | vector | float64 | 569 |
| symmetry2 | vector | float64 | 569 |
| fractal\_dimension2 | vector | float64 | 569 |
| radius3 | vector | float64 | 569 |
| texture3 | vector | float64 | 569 |
| perimeter3 | vector | float64 | 569 |
| area3 | vector | float64 | 569 |
| smoothness3 | vector | float64 | 569 |
| compactness3 | vector | float64 | 569 |
| concavity3 | vector | float64 | 569 |
| concave\_points3 | vector | float64 | 569 |
| symmetry3 | vector | float64 | 569 |

Showing 30 of 32 components. The [complete registry record](<../../../assets/ada8470e7c17dc95bec110206f0cb18fd02b8be3486aa7dc9a3ccaeceb1e81fb.bin>) contains every variable name and task binding. 

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

## Preprocessing

Preprocessing history is not recorded in this registry release. 

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

## Provenance and citation

Provider: UCI Machine Learning Repository. Upstream name: Breast Cancer Wisconsin (Diagnostic). Retrieved: 2026-09-06. 

[Original source](<https://archive.ics.uci.edu/dataset/17/breast+cancer+wisconsin+diagnostic>) 

Authors: William Wolberg, Olvi Mangasarian, Nick Street, W. Street. 

Wolberg, W., Mangasarian, O., Street, N., and Street, W. (1993). Breast Cancer Wisconsin (Diagnostic). UCI Machine Learning Repository. [https://doi.org/10.24432/C5DW2B](<https://doi.org/10.24432/C5DW2B>). 

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

## License

CC-BY-4.0 

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

The UCI dataset page states that the dataset is licensed under CC BY 4.0. 

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

## Artifacts

Total download: 122.1 KiB. Sizes describe the distributed files, including any compression. 

| Artifact | Format | Compression | Size | Distribution | Preservation |
| --- | --- | --- | --- | --- | --- |
| data | csv | none | 122.1 KiB | upstream-only | unknown |

[data: upstream](<https://archive.ics.uci.edu/static/public/17/data.csv>) 

<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/ada8470e7c17dc95bec110206f0cb18fd02b8be3486aa7dc9a3ccaeceb1e81fb.bin>), [registry selector](<../../../assets/8672628c645b749fa42711c6bd53ffd2b65138f37352b9d6531e466c9b9d26d0.bin>), or [full registry index](<https://github.com/jolars/datamonger/releases/download/registry-v1.2.0/index.json>). 

Index SHA-256: `4b4e6aeb71ad7e53c3596a725e62008c76c27a59ac68c53a02432898ec8b6f21`.
