# Wine Quality (Red)

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

`uci:wine-quality-red@1` · Registry `1.7.0`. Default version in this registry. 

Physicochemical measurements and sensory quality scores for red vinho verde wines from northern Portugal. 

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

## Dimensions and tasks

| Task | Type | Split | Samples | Predictors |
| --- | --- | --- | --- | --- |
| default | regression | — | 1,599 | 11 |

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("uci:wine-quality-red@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("uci:wine-quality-red@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("uci:wine-quality-red@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 'uci:wine-quality-red@1'
```

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

## Representation and variables

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

| Component | Kind | Type | Shape |
| --- | --- | --- | --- |
| fixed acidity | vector | float64 | 1,599 |
| volatile acidity | vector | float64 | 1,599 |
| citric acid | vector | float64 | 1,599 |
| residual sugar | vector | float64 | 1,599 |
| chlorides | vector | float64 | 1,599 |
| free sulfur dioxide | vector | float64 | 1,599 |
| total sulfur dioxide | vector | float64 | 1,599 |
| density | vector | float64 | 1,599 |
| pH | vector | float64 | 1,599 |
| sulphates | vector | float64 | 1,599 |
| alcohol | vector | float64 | 1,599 |
| quality | vector | int64 | 1,599 |

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

## Preprocessing

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

### Upstream

Status: unknown. 

The preprocessing history has not been established for this representation. 

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

### Datamonger

Status: none. 

Datamonger decodes the provider artifacts without additional statistical preprocessing. 

Evidence: spec/decoders/delimited-text-v2.md 

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

## Provenance and citation

Provider: UCI Machine Learning Repository. Upstream name: Wine Quality. Retrieved: 2026-11-19. 

[Original source](<https://archive.ics.uci.edu/dataset/186/wine+quality>) 

Authors: Paulo Cortez, A. Cerdeira, F. Almeida, T. Matos, J. Reis. 

Cortez, P., Cerdeira, A., Almeida, F., Matos, T., and Reis, J. (2009). Wine Quality. UCI Machine Learning Repository. [https://doi.org/10.24432/C56S3T](<https://doi.org/10.24432/C56S3T>). 

<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: 82.2 KiB. Sizes describe the distributed files, including any compression. 

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

[data: upstream](<https://archive.ics.uci.edu/ml/machine-learning-databases/wine-quality/winequality-red.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/c1122b48677f5dd295b1b025b92d1625f29d17635dc61141604e9a0eecaface1.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`.
