Research Article

Wine quality grade data analysis and prediction based on multiple machine learning algorithms

Chunzhang Zeng1,*, Jiaying Fang2, Qi Yang3, Chunling Xiang4, Zheming Zhao5, Yijian Lei6
1. Jiangxi Agricultural University
2. Dalian University of Technology
3. Chongqing University of Posts and Telecommunications
4. Tibet University
5. Changchun University of Science and Technology
6. Hubei University of Technology

* Corresponding author: [email protected]

Abstract

With the continuous development of the wine industry, the study of wine grades has received more and more attention. Wine grade is one of the important indicators for assessing the quality of wine, which can reflect the characteristics of wine in terms of taste, aroma, colour and lustre, and can also guide consumers to make purchases. Therefore, the study of predicting wine grades is of great practical significance. In this paper, we first preprocess the data set, find out the outliers through box-and-line diagram and use the mean value to replace the outliers; secondly, we use Pearson correlation analysis to explore the correlation between the indicators of wine and the quality grade of grapes; lastly, by analysing the evaluation indexes of wine, we establish three machine learning models to predict the quality grade of wine. The experimental results show that the prediction accuracy of the three machine learning models for wine quality grade reaches about 60%, among which the random forest model has the best prediction effect, reaching 66.8%; the XGBoost model also has a better prediction effect, with an accuracy of 60.1%, and the decision tree model has a worse prediction effect, with an accuracy of 59.5%. By plotting the confusion matrix of predicted-actual values, it can be seen that the model performs better in predicting high grade wines but worse in predicting low grade wines. This study has certain reference value for the development of wine industry and consumers' purchase.

Keywords: XGBoost; Wine quality grade; Machine learning algorithms
Published: May 23, 2024
DOI: 10.54254/2755-2721/65/20240509
Volume: ACE Vol.65
pp. 241-246
Download PDF

References

  1. Le L ,Hurtado N P ,Lawrence I , et al.Applying Neural Networks in Wineinformatics with the New Computational Wine Wheel[J].Fermentation,2023,9(7):
  2. Yu W ,Xingyi H ,Joshua A , et al.Novel colorimetric sensor array for Chinese rice wine evaluation based on color reactions of flavor compounds[J].Journal of Food Process Engineering,2021,44(12):
  3. Evangelos D M ,Georgios M ,Charikleia K , et al.Explore the Rare—Molecular Identification and Wine Evaluation of Two Autochthonous Greek Varieties: “Karnachalades” and “Bogialamades”[J].Plants,2021,10(8):1556-1556.
  4. Andrii T ,Jens W ,Wolfgang P , et al.Cooling Shock for Bottled Wine. How Dramatic Is This before Tasting?[J].Beverages,2020,6(4):62-62.
  5. Wang J Q ,Spence C .A smooth wine? Haptic influences on wine evaluation[J].International Journal of Gastronomy and Food Science,2018,149-13.
  6. Ferrer-Gallego R ,Puxeu M ,Nart E , et al.Evaluation of Tempranillo and Albariño SO 2 -free wines produced by different chemical alternatives and winemaking procedures[J].Food Research International,2017,102647-657.
  7. Bruna C ,Carmel K,Amandine B, et al.Sparkling wine: Evaluation of the effect of bentonite fining for sparkling wine quality[J].Wine Viticulture Journal,2017,32(5):24-26.
  8. Satoru S ,Satsuki H ,W. K P A , et al.Correction of Spectral Interference of Ethanol and Glucose for Rice Wine Evaluation[J].International Journal of Chemical Engineering and Applications,2015,6(4):267-272.
  9. Yin S ,Liu L ,Gao X , et al.Multivariate Methods Based Soft Measurement for Wine Quality Evaluation[J].Abstract and Applied Analysis,2014,20141-7.
  10. Kumar S Y ,Varakumar S ,Reddy O .Evaluation of antioxidant and sensory properties of mango ( Mangifera indica L.) wine[J].CyTA - Journal of Food,2012,10(1):12-20.