In order to reduce the uncertainty of the genetic algorithm (GA) in optimizing the near-infrared spectral calibration model and avoid the loss of spectral information of the unselected variables, a strategy of fusing consensus models is proposed to measure the soluble solids content (SSC) in peaches. A total of 266 peach samples were collected at four arrivals, and their interactance spectra were scanned by an integrated analyzer prototype, and then an internal index of SSC was destructively measured by the standard refractometry method. The near-infrared spectra were pre-processed with mean centering and were selected successively with a genetic algorithm (GA) to construct the consensus model, which was integrated with two member models with optimized weightings. One was the conventional partial least square (PLS) optimized with GA selected variables (PLSGA), and the other one was the derived PLS developed with residual variables after GA selections (PLSRV). The performance of PLSRV models showed some useful spectral information related to peaches’ SSC and someone performed close to the full-spectral-based PLS model. Among these 10 runs, consensus models obtained a lower root mean squared errors of prediction (RMSEP), with an average of 1.106% and standard deviation (SD) of 0.0068, and performed better than that of the optimized PLSGA models, which achieved a RMSEP of average 1.116% with SD of 0.0097. It can be concluded that the application of fusion strategy can reduce the fluctuation uncertainty of a model optimized by genetic algorithm, fulfill the utilization of the spectral information amount, and realize the rapid detection of the internal quality of the peach.
Egg freshness is of great importance to daily nutrition and food consumption. In this work, visible near-infrared (vis-NIR) spectroscopy combined with the sparsity of interval partial least square regression (iPLS) were carried out to measure the egg’s freshness by semi-transmittance spectral acquisition. A fiber spectrometer with a spectral range of 550-985 nm was embedded in the developed spectral scanner, which was designed with rich light irradiation mode from another two reflective surfaces. The semi-transmittance spectra were collected from the waist of eggs and monitored every two days. Haugh unit (HU) is a key indicator of egg’s freshness, and ranged 56–91 in 14 days after delivery. The profile of spectra was analyzed the relation to the changes of egg’s freshness. A series of iPLS models were constructed on the basis of spectral intervals at different divisions of the spectral region to predict the egg’s HU, and then the least absolute shrinkage and selection operator (Lasso) was used to sparse the number of iPLS member models acting as a role of model selection and fusion regression. By optimization of the number of spectral intervals in the range of 1 to 40, the 26th fusion model obtained the best performance with the minimum root mean of squared error of prediction (RMSEP) of 5.161, and performed the best among the general PLS model and other intervals-combined PLS models. This study provided a new, rapid, and reliable method for the non-destructive and in-site determination of egg’s freshness.
Total soluble solids (TSSs) serve as a crucial maturity indicator and quality determinant in apricots, influencing harvest timing and postharvest management decisions. This study develops an advanced framework integrating adaptive boosting (Adaboost) ensemble learning with high-frequency spectral variables selected by uninformative variable elimination (UVE) for the rapid non-destructive detection of fruit quality. Near-infrared (NIR) spectra (1000~2500 nm) were acquired and then preprocessed through robust principal component analysis (ROBPCA) for outlier detection combined with z-score normalization for spectral pretreatment. Subsequent data processes included three steps: (1) 100 continuous runs of UVE identified characteristic wavelengths, which were classified into three levels—high-frequency (≥90 times), medium-frequency (30–90 times), and low-frequency (≤30 times) subsets; (2) the development of the base optimal partial least squares regression (PLSR) models for each wavelength subset; and (3) the execution of adaptive weight optimization through the Adaboost ensemble algorithm. The experimental findings revealed the following: (1) The model established based on high-frequency wavelengths outperformed both full-spectrum model and full-characteristic wavelength model. (2) The optimized UVE-PLS-Adaboost model achieved the peak performance (R = 0.889, RMSEP = 1.267, MAE = 0.994). This research shows that the UVE-Adaboost fusion method enhances model prediction accuracy and generalization ability through multi-dimensional feature optimization and model weight allocation. The proposed framework enables the rapid, non-destructive detection of apricot TSSs and provides a reference for the quality evaluation of other fruits in agricultural applications.
In some cases, near-infrared spectra (NIRS) make the prediction of quantitative models unreliable, and the choice of a suitable number of latent variables (LVs) for partial least square (PLS) is difficult. In this case, a strategy of fusing member models with important information is gradually becoming valued in recent research. In this work, a series of PLS regression models were developed with an increasing number of LVs as member models. Then, the least absolute shrinkage and selection operator (Lasso) was employed as the model’s selection access to sparse uninformative ones among these PLS member models. Deviation weighted fusion (DW-F), partial least squares regression coefficient fusion (PLS-F), and ridge regression coefficient fusion (RR-F) were comparatively used further to fuse the above sparsed member models, respectively. Three spectral datasets, including six attributes in NIR data of corn, apple, and marzipan, respectively, were applied in order to validate the feasibility of this fusion algorithm. Six fusion models of the above attributes performed better than the general optimal PLS model, with a noticeable enhancement of root mean errors squared of prediction (RMSEP) arriving at its highest at 80%. It also reduced more than half of the spectral bands; the DW-F especially showed its excellent fusing capacity and obtained the best performance. Results show that the preferred strategy of DW-F model combined with Lasso selection can make full use of spectral information, and significantly improve the prediction accuracy of fusion models.
A method combing one-class classifier and laser-induced breakdown spectrometry (LIBS) to quickly identify healthy Tegillarca granosa (T.granosa) in this study. The sum of ranking differences (SRD) was used to fuse multiple anomaly detection metrics to build the one-class classifier, which was only trained with healthy T.granosa. The one-class classifier can identify healthy T.granosa to exclude non-healthy T.granosa. The proposed method calculated multiple anomaly detection metrics and standardized them to obtain a fusion matrix. Based on the fusion matrix, the samples were ranked by SRD and the ones ranked lowest and below the threshold were considered to be unhealthy. Multiple anomaly detection metrics were fused by the SRD algorithm and tested on each band, and the final fusion model achieved an accuracy rate of 98.46%, a sensitivity of 100%, and a specificity of 80%. The remaining three single classification models obtained the following results: the SVDD model achieved an accuracy rate of 87.69%, a sensitivity of 90%, and a specificity of 60%; the OCSVM model achieved an accuracy rate of 80%, a sensitivity of 76.67%, and a specificity of 60%; the DD-SIMCA model achieved an accuracy rate of 95.38%, a sensitivity of 98.33%, and a specificity of 60%. The experimental results showed that the proposed method achieved better results than the traditional one-class classification methods with a single metric. Therefore, the fusion method effectively improves the performance of traditional one-class classifiers when using LIBS to quickly identify healthy substances (healthy T.granosa).