Learn R Programming

LFM (version 0.3.1)

Wine: Wine Data

Description

The Wine dataset contains the results of a chemical analysis of wines grown in the same region in Italy but derived from three different cultivars. The analysis determined the quantities of 13 constituents found in each of the three types of wines. This dataset is commonly used for classification tasks to determine the origin of wines based on their chemical properties.

Usage

data(Wine)

Arguments

Format

A data frame with 178 rows and 14 columns representing different features of wines.

  • Class: Categorical target variable indicating the type of wine (1, 2, or 3).

  • Alcohol: Continuous feature representing the alcohol content.

  • Malic_acid: Continuous feature representing the malic acid content.

  • Ash: Continuous feature representing the ash content.

  • Alcalinity_of_ash: Continuous feature representing the alcalinity of ash.

  • Magnesium: Integer feature representing the magnesium content.

  • Total_phenols: Continuous feature representing the total phenols content.

  • Flavanoids: Continuous feature representing the flavanoids content.

  • Nonflavanoid_phenols: Continuous feature representing the nonflavanoid phenols content.

  • Proanthocyanins: Continuous feature representing the proanthocyanins content.

  • Color_intensity: Continuous feature representing the color intensity.

  • Hue: Continuous feature representing the hue.

  • OD280_OD315_of_diluted_wines: Continuous feature representing the OD280/OD315 of diluted wines.

  • Proline: Continuous feature representing the proline content.

Examples

Run this code
# Load the dataset
data(Wine)

# Print the first few rows of the dataset
print(head(Wine))

Run the code above in your browser using DataLab