Work

Red Wine Quality Prediction Model

Year: 2020
Type: preprint
Abstract: Wine classification and certification are mainly based on human tasters or oenologists. This approach, while useful, can be subjective. Indeed, of all human senses, taste is the least understood, making wine tasting and classification a difficult task. Wine making and selling processes still rely heavily on these classifications. However, the physicochemical analysis of wines can be easily realized in laboratories. The development of an accurate Machine Learning model that can establish a relationship between the sensory and physicochemical analysis of wine can be of great utility for the wine industry. It can be useful to speed up the performance and the quality of oenologist. It can also be useful for wine producers and merchants as well as for training purposes in wine related education institutions. In this study, I create wine quality classifier models capable of determining the quality of a red wine based on its physicochemical analysis. As an initial examination, I used the Amazon built-in SageMaker LinearLearner model. This simple prediction model achieved an accuracy score of 88%. Other refinements of this initial model were also tested, either to optimize the Recall score (set at 0.9), the F1_Score or the Precision score (set at 0.9). Depending on the objective of the classification, they provide good alternative algorithms. The custom Scikit-learn classifier (SVM) that I defined also proved to be a very good model. Its F1_score (about 0.80) is by far the highest, showing that it handled better the imbalance in the dataset. Its recall and precision scores (0.86 and 0.75 respectively) are also better. This allows thinking that this model is a better model to consider for this classification job. Furthermore, using the sklearn feature ranking with recursive feature elimination (RFE), I retrieved the five most informative physiochemical properties which determine the quality of red wine. These include volatile acidity, citric acid, chlorides, density and sulphates. This study thus suggests that machine learning may be used to identify or improve the quality of red wine. In that task, sklearn SVM may hold promise for improving the classification and certification of wines. I expect this method to apply to other wine types quality classification problems.
Language: English
Open Access status: green
OpenAlex ID: W3131186050
Cites:
Cited by: 1
Related to: 10