Multivariate Chemical Structure and Class Separation in Wine Chemometrics
DOI:
https://doi.org/10.65310/6vpbf718Keywords:
chemometrics, linear discriminant analysis, principal component analysis, wine chemistry, wine classificationAbstract
Wine chemometrics often prioritizes classification accuracy without distinguishing covariance representation from natural cluster geometry. This study reanalyzed the historical UCI Wine benchmark to compare these complementary properties using a common feature set and leakage-controlled validation. The dataset contained 178 observations, three cultivar classes, and 13 chemical measurements. Standardized principal component analysis (PCA), k-means clustering, and linear discriminant analysis (LDA) were implemented in a reproducible workflow. PC1 and PC2 explained 36.20% and 19.21% of variance, respectively; flavanoids, total phenols, and OD280/OD315 were prominent positive contributors to PC1. Three-cluster k-means yielded a silhouette coefficient of 0.285, an adjusted Rand index of 0.897, and normalized mutual information of 0.876, revealing substantial class agreement despite limited Euclidean compactness. Stratified ten-fold LDA achieved mean accuracy of 98.86% (SD 2.29 percentage points); 176 of 178 out-of-fold predictions were correct. The contribution is not a new algorithm but a transparent comparison of distinct analytical objectives, supported by signed coefficients, class-level errors, and cluster–class agreement. These findings provide a practical framework for selecting and interpreting chemometric methods, but internal validation on a historical benchmark does not establish performance on independently collected wines.
Downloads
References
Aeberhard, S., & Forina, M. (1991). Wine [Data set]. UCI Machine Learning Repository. https://doi.org/10.24432/C5PC7J
Aeberhard, S., Coomans, D., & de Vel, O. (1994). Comparative analysis of statistical pattern recognition methods in high dimensional settings. Pattern Recognition, 27(8), 1065–1077. https://doi.org/10.1016/0031-3203(94)90145-7
Becht, E., McInnes, L., Healy, J., Dutertre, C.-A., Kwok, I. W. H., Ng, L. G., Ginhoux, F., & Newell, E. W. (2019). Dimensionality reduction for visualizing single-cell data using UMAP. Nature Biotechnology, 37, 38–44. https://doi.org/10.1038/nbt.4314
Belkin, M., Hsu, D., Ma, S., & Mandal, S. (2019). Reconciling modern machine-learning practice and the classical bias–variance trade-off. Proceedings of the National Academy of Sciences, 116(32), 15849–15854. https://doi.org/10.1073/pnas.1903070116
Borràs, E., Ferré, J., Boqué, R., Mestres, M., Aceña, L., & Busto, O. (2015). Data fusion methodologies for food and beverage authentication and quality assessment: A review. Analytica Chimica Acta, 891, 1–14. https://doi.org/10.1016/j.aca.2015.04.042
Chen, K., Xue, H., Shi, Q., Zhang, F., Ma, Q., Sun, J., Liu, Y., Tang, Y., & Wang, W. (2024). Geographical identification of Chinese wine based on chemometrics combined with mineral elements, volatile components and untargeted metabonomics. Food Chemistry: X, 22, 101412. https://doi.org/10.1016/j.fochx.2024.101412
Cheng, C., Zhou, Y., Nelson, H. M., Ahmadullah, T., Piao, H., Wang, Z., Guo, W., Wang, J.-G., Lai, G., & Zhu, Z. (2023). Molecular identification of wines using in situ liquid SIMS and PCA analysis. Frontiers in Chemistry, 11, 1124229. https://doi.org/10.3389/fchem.2023.1124229
Chicco, D., & Jurman, G. (2020). The advantages of the Matthews correlation coefficient over F1 score and accuracy in binary classification evaluation. BMC Genomics, 21, 6. https://doi.org/10.1186/s12864-019-6413-7
Cozzolino, D. (2015). The role of visible and infrared spectroscopy combined with chemometrics to measure phenolic compounds in grape and wine samples. Molecules, 20(1), 726–737. https://doi.org/10.3390/molecules20010726
Fisher, R. A. (1936). The use of multiple measurements in taxonomic problems. Annals of Eugenics, 7(2), 179–188. https://doi.org/10.1111/j.1469-1809.1936.tb02137.x
Granato, D., Putnik, P., Bursać Kovačević, D., Santos, J. S., Calado, V., Rocha, R. S., Cruz, A. G. D., Jarvis, B., Rodionova, O. Y., & Pomerantsev, A. (2018). Trends in chemometrics: Food authentication, microbiology, and effects of processing. Comprehensive Reviews in Food Science and Food Safety, 17(3), 663–677. https://doi.org/10.1111/1541-4337.12341
Greenacre, M., Groenen, P. J. F., Hastie, T., D’Enza, A. I., Markos, A., & Tuzhilina, E. (2022). Principal component analysis. Nature Reviews Methods Primers, 2, 100. https://doi.org/10.1038/s43586-022-00184-w
Hubert, L., & Arabie, P. (1985). Comparing partitions. Journal of Classification, 2, 193–218. https://doi.org/10.1007/BF01908075
Ikotun, A. M., Ezugwu, A. E., Abualigah, L., Abuhaija, B., & Heming, J. (2023). K-means clustering algorithms: A comprehensive review, variants analysis, and advances in the era of big data. Information Sciences, 622, 178–210. https://doi.org/10.1016/j.ins.2022.11.139
Jolliffe, I. T., & Cadima, J. (2016). Principal component analysis: A review and recent developments. Philosophical Transactions of the Royal Society A, 374, 20150202. https://doi.org/10.1098/rsta.2015.0202
Kapoor, S., & Narayanan, A. (2023). Leakage and the reproducibility crisis in machine-learning-based science. Patterns, 4(9), 100804. https://doi.org/10.1016/j.patter.2023.100804
Kobak, D., & Berens, P. (2019). The art of using t-SNE for single-cell transcriptomics. Nature Communications, 10, 5416. https://doi.org/10.1038/s41467-019-13056-x
Kružlicová, D., & Gruberová, S. (2022). Classification and authentication of Slovak varietal wines by attenuated total reflectance Fourier-transform infrared spectrometry and multidimensional data analysis. Chemical Papers, 76, 2385–2396. https://doi.org/10.1007/s11696-021-02041-8
Lever, J., Krzywinski, M., & Altman, N. (2017). Principal component analysis. Nature Methods, 14, 641–642. https://doi.org/10.1038/nmeth.4346
Lundberg, S. M., Erion, G., Chen, H., DeGrave, A., Prutkin, J. M., Nair, B., Katz, R., Himmelfarb, J., Bansal, N., & Lee, S.-I. (2020). From local explanations to global understanding with explainable AI for trees. Nature Machine Intelligence, 2, 56–67. https://doi.org/10.1038/s42256-019-0138-9
Mac, H. X., Pham, T. T., Ha, N. T. T., Nguyen, L. L. P., Baranyai, L., & Friedrich, L. (2023). Current techniques for fruit juice and wine adulterant detection and authentication. Beverages, 9(4), 84. https://doi.org/10.3390/beverages9040084
Pedregosa, F., Varoquaux, G., Gramfort, A., Michel, V., Thirion, B., Grisel, O., Blondel, M., Prettenhofer, P., Weiss, R., Dubourg, V., Vanderplas, J., Passos, A., Cournapeau, D., Brucher, M., Perrot, M., & Duchesnay, E. (2011). Scikit-learn: Machine learning in Python. Journal of Machine Learning Research, 12, 2825–2830. https://www.jmlr.org/papers/v12/pedregosa11a.html
Pineau, J., Vincent-Lamarre, P., Sinha, K., Larivière, V., Beygelzimer, A., d’Alché-Buc, F., Fox, E., & Larochelle, H. (2021). Improving reproducibility in machine learning research. Journal of Machine Learning Research, 22(164), 1–20. https://www.jmlr.org/papers/v22/20-303.html
Probst, P., Wright, M. N., & Boulesteix, A.-L. (2019). Hyperparameters and tuning strategies for random forest. WIREs Data Mining and Knowledge Discovery, 9(3), e1301. https://doi.org/10.1002/widm.1301
Ranaweera, R. K. R., Capone, D. L., Bastian, S. E. P., Cozzolino, D., & Jeffery, D. W. (2021). A review of wine authentication using spectroscopic approaches in combination with chemometrics. Molecules, 26(14), 4334. https://doi.org/10.3390/molecules26144334
Raschka, S., Patterson, J., & Nolet, C. (2020). Machine learning in Python: Main developments and technology trends in data science, machine learning, and artificial intelligence. Information, 11(4), 193. https://doi.org/10.3390/info11040193
Rousseeuw, P. J. (1987). Silhouettes: A graphical aid to the interpretation and validation of cluster analysis. Journal of Computational and Applied Mathematics, 20, 53–65. https://doi.org/10.1016/0377-0427(87)90125-7
Rudin, C. (2019). Stop explaining black box machine learning models for high stakes decisions and use interpretable models instead. Nature Machine Intelligence, 1, 206–215. https://doi.org/10.1038/s42256-019-0048-x
Sainburg, T., McInnes, L., & Gentner, T. Q. (2021). Parametric UMAP embeddings for representation and semisupervised learning. Neural Computation, 33(11), 2881–2907. https://doi.org/10.1162/neco_a_01434
Sarker, I. H. (2021). Machine learning: Algorithms, real-world applications and research directions. SN Computer Science, 2, 160. https://doi.org/10.1007/s42979-021-00592-x
Schorn-García, D., Ezenarro, J., Busto, O., Aceña, L., Boqué, R., Mestres, M., & Giussani, B. (2024). A new index to detect process deviations using IR spectroscopy and chemometrics process tools. Food and Bioprocess Technology, 17, 2782–2792. https://doi.org/10.1007/s11947-023-03266-z
Vabalas, A., Gowen, E., Poliakoff, E., & Casson, A. J. (2019). Machine learning algorithm validation with a limited sample size. PLOS ONE, 14(11), e0224365. https://doi.org/10.1371/journal.pone.0224365
Vinh, N. X., Epps, J., & Bailey, J. (2010). Information theoretic measures for clusterings comparison: Variants, properties, normalization and correction for chance. Journal of Machine Learning Research, 11, 2837–2854. https://www.jmlr.org/papers/v11/vinh10a.html
Wang, Y., Li, C., Ge, Q., Huo, X., Ma, T., Fang, Y., & Sun, X. (2024). Geographical characterization of wines from seven regions of China by chemical composition combined with chemometrics: Quality characteristics of Chinese ‘Marselan’ wines. Food Chemistry: X, 23, 101606. https://doi.org/10.1016/j.fochx.2024.101606









