Abstract
Background and goals Machine learning (ML) and statistical modeling have emerged as important innovations in science. In wine research, these methods are often employed to predict abstract parameters, such as wine quality, based on complex instrumental chemical analysis. This study compares the use of three ML algorithms—logistic regression, support vector machine (SVM), and eXtreme Gradient Boost (XGBoost)—to distinguish blanc de noir wines from white and rosé wines on the basis of spectrophotometric data. Methods and key findings The present study of 176 commercial wines uses both spectrophotometric data and CIE L*a*b* coordinates created from dimensional reduction of the transmission data. The transmission spectra were used to train the extreme gradient-boosted trees and SVM models. CIE L*a*b* coordinates were used to train SVM and logistic regression models. After hyperparameter tuning, the use of the SVM model on the CIE L*a*b* data provided optimal classification, with a cross-validated accuracy of 0.88 and an F1 score of 0.93. Conclusions and significance The dimensional reduction of spectrophotometric data for use as input to train ML models can both provide accurate ML results and simplify the use of ML algorithms for potential users. The final classification model is deployed in a browser-based user-friendly dashboard for winemakers and other users, such as wine laboratories.

This publication has 34 references indexed in Scilit: