Hostname: page-component-74656f9884-npj9w Total loading time: 0 Render date: 2026-11-07T13:48:06.611Z Has data issue: false hasContentIssue false

Classification of Wines Using Principal Component Analysis

Published online by Cambridge University Press:  22 March 2021

Jackson Barth
Affiliation:
Department of Statistical Science, Southern Methodist University, 3225 Daniel Ave, Dallas, Texas, 75275; e-mail: jbarth@smu.edu.
Duwani Katumullage
Affiliation:
Department of Statistical Science, Southern Methodist University, 3225 Daniel Ave, Dallas, Texas, 75275; e-mail: dkatumullage@smu.edu.
Chenyu Yang
Affiliation:
Department of Statistical Science, Southern Methodist University, 3225 Daniel Ave, Dallas, Texas, 75275; e-mail: chenyuy@smu.edu.
Jing Cao*
Affiliation:
Department of Statistical Science, Southern Methodist University, 3225 Daniel Ave, Dallas, Texas, 75275
*
e-mail: jcao@smu.edu (corresponding author).
Rights & Permissions [Opens in a new window]

Abstract

Classification of wines with a large number of correlated covariates may lead to classification results that are difficult to interpret. In this study, we use a publicly available dataset on wines from three known cultivars, where there are 13 highly correlated variables measuring chemical compounds of wines. The goal is to produce an efficient classifier with straightforward interpretation to shed light on the important features of wines in the classification. To achieve the goal, we incorporate principal component analysis (PCA) in the k-nearest neighbor (kNN) classification to deal with the serious multicollinearity among the explanatory variables. PCA can identify the underlying dominant features and provide a more succinct and straightforward summary over the correlated covariates. The study shows that kNN combined with PCA yields a much simpler and interpretable classifier that has comparable performance with kNN based on all the 13 variables. The appropriate number of principal components is chosen to strike a balance between predictive accuracy and simplicity of interpretation. Our final classifier is based on only two principal components, which can be interpreted as the strength of taste and level of alcohol and fermentation in wines, respectively. (JEL Classifications: C10, Cl4, D83)

Information

Type
Articles
Copyright
Copyright © American Association of Wine Economists, 2021
Figure 0

Figure 1 Sample Correlation Matrix of the Explanatory Variables

Figure 1

Table 1 Description and Categorization of the Explanatory Variables

Figure 2

Table 2 Structure for the First 2-PCs with the Key Variables

Figure 3

Figure 2 Misclassification Rates Among Different Classifiers

Figure 4

Table 3 Misclassification Rates Among Different Classifiers

Figure 5

Figure 3 Scatter Plot of Wines on the PC1 and PC2 Coordinates