Walnuts are commercially important tree nuts whose moisture content (MC) influences quality, shelf life, and post-harvest processing. This study evaluated the potential of low-cost acoustic sensing combined with machine learning for non-destructive MC prediction. Sixty in-shell walnuts were subjected to controlled drying at 40 °C for 26 h, with acoustic recordings and physical measurements collected every two hours. Acoustic signals were processed using Wavelet Soft Threshold Denoising (WSTD), Short-Time Fourier Transform (STFT), and Variational Mode Decomposition (VMD), and features were extracted from the resulting signals. Predictive models included generalized linear models (GLM), random forests (RF), gradient boosting machines (GBM), and Partial Least Squares (PLS) approaches. Following grouped walnut-level validation, the highest MC prediction performance was achieved by the model combining dimensional and acoustic descriptors (RF: R2 = 0.836; GBM: R2 = 0.826), while the model combining drying time and acoustic descriptors achieved moderate predictive performance (RF: R2 = 0.762; GBM: R2 = 0.760). Overall, the results provide proof-of-concept evidence that acoustic descriptors may complement physical measurements for non-destructive walnut moisture-content prediction. However, substantially larger independent datasets collected across multiple cultivars, production batches, acquisition conditions, and external validation studies will be required before practical industrial implementation can be considered.

Prediction of Walnut Moisture Content Using Impact Acoustics, Physical Dimensions, and Machine Learning

Sepehr A.;Marinello F.;Guerrini L.
2026

Abstract

Walnuts are commercially important tree nuts whose moisture content (MC) influences quality, shelf life, and post-harvest processing. This study evaluated the potential of low-cost acoustic sensing combined with machine learning for non-destructive MC prediction. Sixty in-shell walnuts were subjected to controlled drying at 40 °C for 26 h, with acoustic recordings and physical measurements collected every two hours. Acoustic signals were processed using Wavelet Soft Threshold Denoising (WSTD), Short-Time Fourier Transform (STFT), and Variational Mode Decomposition (VMD), and features were extracted from the resulting signals. Predictive models included generalized linear models (GLM), random forests (RF), gradient boosting machines (GBM), and Partial Least Squares (PLS) approaches. Following grouped walnut-level validation, the highest MC prediction performance was achieved by the model combining dimensional and acoustic descriptors (RF: R2 = 0.836; GBM: R2 = 0.826), while the model combining drying time and acoustic descriptors achieved moderate predictive performance (RF: R2 = 0.762; GBM: R2 = 0.760). Overall, the results provide proof-of-concept evidence that acoustic descriptors may complement physical measurements for non-destructive walnut moisture-content prediction. However, substantially larger independent datasets collected across multiple cultivars, production batches, acquisition conditions, and external validation studies will be required before practical industrial implementation can be considered.
2026
File in questo prodotto:
File Dimensione Formato  
foods-15-02951-v2.pdf

accesso aperto

Tipologia: Published (Publisher's Version of Record)
Licenza: Creative commons
Dimensione 5.76 MB
Formato Adobe PDF
5.76 MB Adobe PDF Visualizza/Apri
Pubblicazioni consigliate

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11577/3615580
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 0
  • ???jsp.display-item.citation.isi??? ND
  • OpenAlex ND
social impact