TY - JOUR
T1 - Developing robust food composition models
T2 - strategies for handling temperature and packaging variations in dry-cured ham using near infrared spectrometry
AU - Fulladosa, E.
AU - Chong, M.W.S.
AU - Parrott, A.J.
AU - dos Santos, R.
AU - Russell, J.
AU - Nordon, A.
PY - 2025/5/5
Y1 - 2025/5/5
N2 - Low-cost near infrared devices intended for consumers able to easily determine composition and quality of food products may boost adoption of sustainable healthy diets. However, predictive algorithms robust to external variations are needed. The aim of this work was to evaluate different data analysis strategies to develop robust predictive models for food composition when using spectrometric data subjected to external variations, specifically temperature and packaging material, acquired using low-cost sensors. Usefulness of global modelling (GM), Generalised least squares weighting (GLSW), Loading space standardisation (LSS), Multiplicative Effects Model (MEM) were explored, and the effect of samples heterogeneity evaluated. To do so, two low-cost handheld NIR-based devices with different spectral ranges and resolutions were used. The food matrix samples were obtained from different anatomical muscles of commercial dry-cured ham. Spectra were acquired on two types of packaging films at different temperatures to further explore the usefulness of global modelling (GM), generalised least squares weighting (GLSW), loading space standardisation (LSS), and multiplicative effects model (MEM) to retrieve these effects. Results show that the inherent food sample heterogeneity produces as much spectral variability as temperature and packaging materials. For temperature compensation, LSS did not decrease the predictive error caused by this factor probably due to the heterogeneity of the samples used. In contrast, the GLSW method decreased the predictive errors from 0.52% to 0.46% for salt and from 2.10% to 1.40% for water.. Only a slight effect of packaging was observed, and GM models were found to be the best strategy to compensate it, showing a decrease of bias from −1.35 to 0.012. The examined compensation strategies could facilitate the deployment of low-cost spectrometers for consumer use, as they offer an effective means to mitigate or eliminate variations from any source in the data that are unrelated to the properties of interest.
AB - Low-cost near infrared devices intended for consumers able to easily determine composition and quality of food products may boost adoption of sustainable healthy diets. However, predictive algorithms robust to external variations are needed. The aim of this work was to evaluate different data analysis strategies to develop robust predictive models for food composition when using spectrometric data subjected to external variations, specifically temperature and packaging material, acquired using low-cost sensors. Usefulness of global modelling (GM), Generalised least squares weighting (GLSW), Loading space standardisation (LSS), Multiplicative Effects Model (MEM) were explored, and the effect of samples heterogeneity evaluated. To do so, two low-cost handheld NIR-based devices with different spectral ranges and resolutions were used. The food matrix samples were obtained from different anatomical muscles of commercial dry-cured ham. Spectra were acquired on two types of packaging films at different temperatures to further explore the usefulness of global modelling (GM), generalised least squares weighting (GLSW), loading space standardisation (LSS), and multiplicative effects model (MEM) to retrieve these effects. Results show that the inherent food sample heterogeneity produces as much spectral variability as temperature and packaging materials. For temperature compensation, LSS did not decrease the predictive error caused by this factor probably due to the heterogeneity of the samples used. In contrast, the GLSW method decreased the predictive errors from 0.52% to 0.46% for salt and from 2.10% to 1.40% for water.. Only a slight effect of packaging was observed, and GM models were found to be the best strategy to compensate it, showing a decrease of bias from −1.35 to 0.012. The examined compensation strategies could facilitate the deployment of low-cost spectrometers for consumer use, as they offer an effective means to mitigate or eliminate variations from any source in the data that are unrelated to the properties of interest.
KW - temperature
KW - packaging
KW - low-cost spectrometers
KW - near infrared spectroscopy
KW - global modelling
KW - generalised least squares weighting
KW - loading space standardisation
KW - multiplicative effects model
UR - https://doi.org/10.17868/strath.00092004
U2 - 10.1016/j.saa.2025.125823
DO - 10.1016/j.saa.2025.125823
M3 - Article
SN - 1386-1425
VL - 332
JO - Spectrochimica Acta Part A: Molecular and Biomolecular Spectroscopy
JF - Spectrochimica Acta Part A: Molecular and Biomolecular Spectroscopy
M1 - 125823
ER -