# Covertype

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

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

LIBSVM's unscaled, seven-class representation of UCI Covertype. The 54 cartographic features describe 30-meter cells in Colorado's Roosevelt National Forest. Labels 1 through 7 denote spruce/fir, lodgepole pine, ponderosa pine, cottonwood/willow, aspen, Douglas-fir, and krummholz, respectively. 

<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@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@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@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@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 unscaled feature values, seven class labels, and source row order. LIBSVM provides one complete file. 

**feature-encoding.** UCI represents wilderness area and soil type with four and 40 binary indicator columns, respectively. 

Evidence: [https://www.csie.ntu.edu.tw/~cjlin/libsvmtools/datasets/multiclass.html\#covtype](<https://www.csie.ntu.edu.tw/~cjlin/libsvmtools/datasets/multiclass.html#covtype>), [https://archive.ics.uci.edu/ml/machine-learning-databases/covtype/covtype.info](<https://archive.ics.uci.edu/ml/machine-learning-databases/covtype/covtype.info>), [https://archive.ics.uci.edu/ml/machine-learning-databases/covtype/covtype.data.gz](<https://archive.ics.uci.edu/ml/machine-learning-databases/covtype/covtype.data.gz>) 

<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. Retrieved: 2026-11-18. 

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

Authors: Jock Blackard. 

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

Chang, C.-C., and Lin, C.-J. (2011). LIBSVM: A Library for Support Vector Machines. ACM Transactions on Intelligent Systems and Technology, 2(3), article 27. [https://www.csie.ntu.edu.tw/~cjlin/papers/libsvm.pdf](<https://www.csie.ntu.edu.tw/~cjlin/papers/libsvm.pdf>) 

Cite the UCI dataset DOI and retain the copyright notice for Jock A. Blackard and Colorado State University, as requested in covtype.info. 

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

## License

CC-BY-4.0 

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

UCI licenses the Covertype dataset under CC BY 4.0 ([https://archive.ics.uci.edu/dataset/31/covertype)](<https://archive.ics.uci.edu/dataset/31/covertype%29>). The LIBSVM file is a lossless sparse encoding of the UCI data. The original covtype.info also permits unlimited reuse with retention of the copyright notice for Jock A. Blackard and Colorado State University ([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>). 

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

## Artifacts

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

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

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