This study explored the feasibility of near-infrared (NIR) spectroscopy for detecting total water, free water and bound water in carrot slices during freeze-drying, with low-field nuclear magnetic resonance (LF-NMR) characterizing water state distribution and oven-drying determining moisture content (MC). NIR spectra (10,000–4000 cm−1) were processed via optimized sample partitioning, preprocessing and feature extraction; partial least squares regression (PLSR), support vector regression (SVR), back-propagation artificial neural network (BPANN), extreme gradient boosting (XGBoost) and particle swarm optimization–random forest (PSO-RF) models were established and evaluated. Results showed that SVR and BPANN performed robustly, with CARS being the optimal feature extraction method. The full-moisture system achieved high total/free water prediction accuracy (Rp2 = 0.9902/0.9740), while the low-moisture system improved bound water prediction (Rp2 = 0.9709). The established NIR models exhibited excellent fitting and generalization ability, enabling rapid and non-destructive quantitative prediction of moisture content during carrot freeze-drying.
Wang et al. (Tue,) studied this question.