Datamonger

Diabetes

Browse datasets

lars:diabetes@1 · Registry 1.7.0. Default version in this registry.

Baseline measurements for 442 diabetes patients and a quantitative measure of disease progression one year later, from Efron et al. (2004). This is the original, unstandardized ten-predictor TSV distributed by NC State, rather than the standardized lars representation used in the SLOPE paper examples. S1 through S6 are serum measurements. No predefined train/test split is supplied. Centering and scaling this file does not exactly reproduce the paper export because BP and S5 differ slightly in precision. All response values and row order agree.

Dimensions and tasks

Task

Type

Split

Samples

Predictors

default

regression

—

442

10

Predictor counts follow each task's feature selection and exclude targets and identifiers. Sample counts are reported separately for each split.

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.

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("lars:diabetes@1", registry=registry)

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("lars:diabetes@1", registry = registry)

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("lars:diabetes@1"; registry=registry)

CLI

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 'lars:diabetes@1'

Representation and variables

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

Component

Kind

Type

Shape

AGE

vector

int64

442

SEX

vector

int64

442

BMI

vector

float64

442

BP

vector

float64

442

S1

vector

int64

442

S2

vector

float64

442

S3

vector

float64

442

S4

vector

float64

442

S5

vector

float64

442

S6

vector

int64

442

Y

vector

int64

442

Preprocessing

Upstream

Status: unknown.

The provider identifies this as the original data and distinguishes it from the standardized lars export. Earlier measurement preparation is not fully documented; unstandardized does not imply unprocessed.

Evidence: https://www4.stat.ncsu.edu/~boos/var.select/diabetes.html

Datamonger

Status: none.

Datamonger decodes the upstream TSV without scaling or other statistical preprocessing.

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

Provenance and citation

Provider: NC State University, Dennis Boos variable selection resources. Upstream name: Diabetes Data. Retrieved: 2026-11-08.

Original source

Authors: Bradley Efron, Trevor Hastie, Iain Johnstone, Robert Tibshirani.

Efron, B., Hastie, T., Johnstone, I., and Tibshirani, R. (2004). Least Angle Regression. The Annals of Statistics, 32(2), 407–499. https://doi.org/10.1214/009053604000000067.

License

Unknown

The NC State landing page attributes the data to the LARS paper and links the original data from Trevor Hastie's LARS software page, but supplies no explicit dataset license. The lars and scikit-learn software licenses are not treated as evidence of a license for these data.

Artifacts

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

Artifact

Format

Compression

Size

Distribution

Preservation

data

tsv

none

18.1 KiB

upstream-only

unknown

data: upstream

Versions in this registry

1 (default)

Registry record

Download the complete registry record, registry selector, or full registry index.

Index SHA-256: 0837dbe2f30bb1235de74b6bd4075aec46ff065ad9d5a408df4cec7a7178fa6e.