Getting ready

The data consists of the amounts of several constituents found in each of the three types of wines, as well as some spectroscopic variables. The attributes are as follows:

  • Alcohol 
  • Malic acid 
  • Ash 
  • Alcalinity of ash 
  • Magnesium 
  • Total phenols 
  • Flavanoids 
  • Nonflavanoid phenols 
  • Proanthocyanins 
  • Color intensity 
  • Hue 
  • OD280/OD315 of diluted wines 
  • Proline 

The first column of the DataFrame contains the class which indicates one of three types of wine as (0, 1, or 2).