# Covertype Binary

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

`libsvm:covtype-binary@1` · Registry `1.7.0`. Default version in this registry. 

The unscaled binary classification variant of UCI Covertype, distributed by LIBSVM as one file. The 54 cartographic features describe 30-meter cells in Colorado's Roosevelt National Forest. Response label 2 denotes lodgepole pine, and label 1 combines the six other cover types. 

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

## Dimensions and tasks

| Task | Type | Split | Samples | Predictors |
| --- | --- | --- | --- | --- |
| default | classification | — | 581,012 | 54 |

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:covtype-binary@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:covtype-binary@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:covtype-binary@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:covtype-binary@1'
```

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

## Representation and variables

Tabular data with a sparse representation. Decoder: `libsvm` version 1. 

| Component | Kind | Type | Shape |
| --- | --- | --- | --- |
| features | sparse\_matrix | float64 | 581,012 × 54 |
| response | vector | int64 | 581,012 |

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

## Preprocessing

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

### Upstream

Status: documented. 

A row-by-row comparison with the original UCI data confirmed the label mapping, unscaled feature values, and source row order. 

**response-dichotomization.** Keep lodgepole pine as its own class and group the other six cover types. 

Parameters: lodgepole\_pine\_label: 2; other\_cover\_types\_label: 1. 

Evidence: [https://www.csie.ntu.edu.tw/~cjlin/libsvmtools/datasets/binary.html\#covtype.binary](<https://www.csie.ntu.edu.tw/~cjlin/libsvmtools/datasets/binary.html#covtype.binary>), [https://doi.org/10.1162/089976602753633402](<https://doi.org/10.1162/089976602753633402>), [https://archive.ics.uci.edu/dataset/31/covertype](<https://archive.ics.uci.edu/dataset/31/covertype>) 

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

### Datamonger

Status: none. 

Evidence: spec/decoders/libsvm-v1.md 

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

## Provenance and citation

Provider: LIBSVM. Upstream name: covtype.binary. Retrieved: 2026-11-18. 

[Original source](<https://www.csie.ntu.edu.tw/~cjlin/libsvmtools/datasets/binary.html#covtype.binary>) 

Authors: Jock Blackard. 

Blackard, J. (1998). Covertype \[Dataset\]. UCI Machine Learning Repository. [https://doi.org/10.24432/C50K5N](<https://doi.org/10.24432/C50K5N>). 

Collobert, R., Bengio, S., and Bengio, Y. (2002). A parallel mixture of SVMs for very large scale problems. Neural Computation, 14(5), 1105-1114. [https://doi.org/10.1162/089976602753633402](<https://doi.org/10.1162/089976602753633402>). 

LIBSVM reference RC02a describes the binary classification task. 

Retain the copyright notice for Jock A. Blackard and Colorado State University, as requested in covtype.info. 

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

## License

Unknown 

UCI lists CC BY 4.0 for the original Covertype dataset ([https://archive.ics.uci.edu/dataset/31/covertype)](<https://archive.ics.uci.edu/dataset/31/covertype%29>). The source documentation permits reuse with retention of the original copyright notice ([https://archive.ics.uci.edu/ml/machine-learning-databases/covtype/covtype.info)](<https://archive.ics.uci.edu/ml/machine-learning-databases/covtype/covtype.info%29>). License terms for the LIBSVM binary artifact are unverified. 

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

## Artifacts

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

| Artifact | Format | Compression | Size | Distribution | Preservation |
| --- | --- | --- | --- | --- | --- |
| data | libsvm | bzip2 | 6.7 MiB | upstream-only | unknown |

[data: upstream](<https://www.csie.ntu.edu.tw/~cjlin/libsvmtools/datasets/binary/covtype.libsvm.binary.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/6afc03640ccd98564c2e16d7a38a00f6a25b623e86c9f059ebba1c8ec7c30408.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`.
