Machine learning model interpretability using SHAP values: Applied to the task of classifying and predicting the nutritional content of different cuts of mutton.
Li Wang, Xuchun Sun, Jing Liang, Zhiyuan Ma, Fei Li, Shengyan Hao, Baocang Liu, Long Guo, Xiuxiu Weng
{"title":"Machine learning model interpretability using SHAP values: Applied to the task of classifying and predicting the nutritional content of different cuts of mutton.","authors":"Li Wang, Xuchun Sun, Jing Liang, Zhiyuan Ma, Fei Li, Shengyan Hao, Baocang Liu, Long Guo, Xiuxiu Weng","doi":"10.1016/j.fochx.2025.102739","DOIUrl":null,"url":null,"abstract":"<p><p>The rapid identification and prediction of nutritional components in fresh meat products pose a significant challenge. This study aims to classify different cuts of fresh mutton and predict their nutritional components using SVM and PLS model, focusing on the differences in fatty acid composition among the <i>longissimus lumborum</i>, hindshank, and foreshank. An SVM-SHAP model predicted crude fat, protein, and fatty acids, while interpreting feature contributions. PUFA were significantly higher in the hindshank than in the longissimus lumborum and foreshank. The SVM model achieved a classification accuracy of 92.5 % and successfully predicted key nutritional parameters such as EE, CP, MUFA and PUFA with RPD values exceeding 2.7 in the test set. SHAP value analysis revealed that lipid-related variables and wavelengths in the 2300-2500 nm region were major contributors to the model. Vis-NIR-based SVM modeling technology is a fast, non-destructive, and accurate tool for evaluating fresh mutton.</p>","PeriodicalId":12334,"journal":{"name":"Food Chemistry: X","volume":"29 ","pages":"102739"},"PeriodicalIF":6.5000,"publicationDate":"2025-07-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC12275142/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Food Chemistry: X","FirstCategoryId":"97","ListUrlMain":"https://doi.org/10.1016/j.fochx.2025.102739","RegionNum":1,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2025/7/1 0:00:00","PubModel":"eCollection","JCR":"Q1","JCRName":"CHEMISTRY, APPLIED","Score":null,"Total":0}
引用次数: 0
Abstract
The rapid identification and prediction of nutritional components in fresh meat products pose a significant challenge. This study aims to classify different cuts of fresh mutton and predict their nutritional components using SVM and PLS model, focusing on the differences in fatty acid composition among the longissimus lumborum, hindshank, and foreshank. An SVM-SHAP model predicted crude fat, protein, and fatty acids, while interpreting feature contributions. PUFA were significantly higher in the hindshank than in the longissimus lumborum and foreshank. The SVM model achieved a classification accuracy of 92.5 % and successfully predicted key nutritional parameters such as EE, CP, MUFA and PUFA with RPD values exceeding 2.7 in the test set. SHAP value analysis revealed that lipid-related variables and wavelengths in the 2300-2500 nm region were major contributors to the model. Vis-NIR-based SVM modeling technology is a fast, non-destructive, and accurate tool for evaluating fresh mutton.
期刊介绍:
Food Chemistry: X, one of three Open Access companion journals to Food Chemistry, follows the same aims, scope, and peer-review process. It focuses on papers advancing food and biochemistry or analytical methods, prioritizing research novelty. Manuscript evaluation considers novelty, scientific rigor, field advancement, and reader interest. Excluded are studies on food molecular sciences or disease cure/prevention. Topics include food component chemistry, bioactives, processing effects, additives, contaminants, and analytical methods. The journal welcome Analytical Papers addressing food microbiology, sensory aspects, and more, emphasizing new methods with robust validation and applicability to diverse foods or regions.