Browse the handbook
Modules

Wine provenance

The exact UCI Wine recognition source, class mapping, metadata limits, and attribution.

Attribution: Aeberhard, S. & Forina, M. (1992). Wine [Dataset]. UCI Machine Learning Repository. doi:10.24432/C5PC7J.

License: CC BY 4.0, as stated on the official UCI page. The complete license text is included. The original wine.names retains credits to Forina and colleagues/PARVUS, Stefan Aeberhard, and Riccardo Leardi for attribute information.

Downloaded from the official Wine archive on October 10, 2026. The archive and extracted files are unchanged. This is Wine recognition, predicting three cultivar classes from chemical measurements; it is not the separate Wine Quality dataset.

PropertyValue
Versionuci-wine.data-sha256-6be6b1203f3d
Selected filewine.data
File size10,782 bytes
SHA-2566be6b1203f3d51df0b553a70e57b8a723cd405683958204f96d23d7cd6aea659
Observations / features178 / 13
Header / delimiterNo header / comma
Missing or nonfinite feature fieldsNone in the pinned file
Distinct complete record lines178
TaskThree class cultivar classification

Feature and label order

The first CSV field is the class code. The following thirteen fields are features:

Zero based feature indexAner nameMeasurementUnit metadata
0alcoholAlcoholNot supplied
1malic_acidMalic acidNot supplied
2ashAshNot supplied
3alcalinity_of_ashAlcalinity of ashNot supplied
4magnesiumMagnesiumNot supplied
5total_phenolsTotal phenolsNot supplied
6flavanoidsFlavanoidsNot supplied
7nonflavanoid_phenolsNonflavanoid phenolsNot supplied
8proanthocyaninsProanthocyaninsNot supplied
9color_intensityColor intensityNot supplied
10hueHueNot supplied
11od280_od315_of_diluted_winesOD280/OD315 of diluted winesNot supplied
12prolineProlineNot supplied

Official supplied files and current variable metadata do not specify measurement units. Aner returns unknown; the manifest stores null with an unavailable status. These values do not mean dimensionless units. All runtime features use Float64, including integer valued measurements such as magnesium.

Source codeAner class indexDisplay nameRows
10class_159
21class_271
32class_348

Cultivar names are not provided: these display names are identifiers. Original row order is retained and grouped by class. Some source decimals omit a leading zero, such as .28; the data reader handles these separately from Aner's source literal syntax.

Changes: downloaded files are unchanged. Aner parses features as Float64, maps class codes to zero based indices, and assigns source row IDs. It does not impute, standardize, drop, or reorder observations by default.

This small historical sample covers one Italian region and three cultivars. No official train/test split is provided. The task does not predict quality scores. Unequal feature scales make explicit, preprocessing fitted on training data useful for some models. The manifest records archive and metadata hashes.

Aner handbook · Guides and API reference