Load the wine data set (Forina & others, 1991). It contains 178 examples of wines grown in the same region in Italy but derived from three different cultivars (first column). Each example has 13 integer-valued and continuous attributes such as alcohol, malic acid, and ash.


  • path: str. Path to directory which either stores file or otherwise file will be downloaded and extracted there. Filename is wine.data.


Tuple of np.darray x_train with 178 rows and 14 columns and dictionary metadata of column headers (feature names).

Forina, M., & others. (1991). An extendible package for data exploration, classification and correlation. Institute of Pharmaceutical and Food Analisys and Technologies, via Brigata Salerno, 16147.