The problems that arise in multitudinous fields often involve solving complex nonlinear ordinary differential equations (ODE), and it remains challenging since the actual solutions to these problems are hard to obtain. In this regard, the solution strategy with the formulation of Fourier series expansion, calculus of variation and metaheuristic algorithm, was introduced to determine the approximate solution of the nonlinear ODE. The nonlinear ODE was formulated as an optimization problem, specifically, the mothflame optimization (MFO) algorithm and flower pollination algorithm (FPA) were utilized to find the coefficients of the Fourier series. This paper aimed to determine the feasibility of the proposed method to solve the ODEs with different characteristics and compare the obtained results with other optimization algorithms. Moreover, the suitable number of terms (NT) of Fourier series were determined for different test problems for MFO and FPA. The quantitative analysis in terms of the generational distance (GD) metric demonstrated that the approximate solutions were reasonably accurate, with the low GD within the range of 1E-03 to 1E-05 for all test problems. The comparative analysis showed that the approximate performances of MFO and FPA were superior to or comparable with the genetic algorithm, particle swarm optimization and water cycle algorithm.
Modification of the intensification and diversification approaches in the recently developed cuckoo search algorithm (CSA) is performed. The alteration involves the implementation of adaptive step size adjustment strategy, and thus enabling faster convergence to the global optimal solutions. The feasibility of the proposed algorithm is validated against benchmark optimization functions, where the obtained results demonstrate a marked improvement over the standard CSA, in all the cases.
Wavelength selection is crucial to the success of near-infrared (NIR) spectroscopy analysis as it considerably improves the generalization of the multivariate model and reduces model complexity. This study proposes a new wavelength selection method, interval flower pollination algorithm (iFPA), for spectral variable selection in the partial least squares regression (PLSR) model. The proposed iFPA consists of three phases. First, the flower pollination algorithm is applied to search for informative spectral variables, followed by variable elimination. Subsequently, the iFPA performs a local search to determine the best continuous interval spectral variables. The interpretability of the selected variables is assessed on three public NIR datasets (corn, diesel and soil datasets). Performance comparison with other competing wavelength selection methods shows that the iFPA used in conjunction with the PLSR model gives better prediction performance, with the root mean square error of prediction values of 0.0096-0.0727, 0.0015-3.9717 and 1.3388-29.1144 are obtained for various responses in corn, diesel and soil datasets, respectively.
In this study, near-infrared (NIR) spectroscopy was exploited for non-destructive determination of theanine content of oolong tea. The NIR spectral data (400-2500 nm) were correlated with the theanine level of 161 tea samples using partial least squares regression (PLSR) with different wavelengths selection methods, including the regression coefficient-based selection, uninformative variable elimination, variable importance in projection, selectivity ratio and flower pollination algorithm (FPA). The potential of using the FPA to select the discriminative wavelengths for PLSR was examined for the first time. The analysis showed that the PLSR with FPA method achieved better predictive results than the PLSR with full spectrum (PLSR-full). The developed simplified model using on FPA based on 12 latent variables and 89 selected wavelengths produced R-squared (R2) value and root mean squared error (RMSE) of 0.9542, 0.8794 and 0.2045, 0.3219 for calibration and prediction, respectively. For PLSR-full, the R2 values of 0.9068, 0.8412 and RMSEs of 0.2916, 0.3693, were achieved for calibration and prediction. Also, the optimized model using FPA outperformed other wavelengths selection methods considered in this study. The obtained results indicated the feasibility of FPA to improve the predictability of the PLSR and reduce the model complexity. The nonlinear regression models of support vector machine regression and Gaussian process regression (GPR) were further utilized to evaluate the superiority of using the FPA in the wavelength selection. The results demonstrated that utilizing the wavelength selection method of FPA and nonlinear regression model of GPR could improve the predictive performance.
Spectroscopy in the visible and near-infrared region (Vis-NIR) region has proven to be an effective technique for quantifying the chlorophyll contents of plants, which serves as an important indicator of their photosynthetic rate and health status. However, the Vis-NIR spectroscopy analysis confronts a significant challenge concerning the existence of spectral variations and interferences induced by diverse factors. Hence, the selection of characteristic wavelengths plays a crucial role in Vis-NIR spectroscopy analysis. In this study, a novel wavelength selection approach known as the modified regression coefficient (MRC) selection method was introduced to enhance the diagnostic accuracy of chlorophyll content in sugarcane leaves. Experimental data comprising spectral reflectance measurements (220-1400 nm) were collected from sugarcane leaf samples at different growth stages, including seedling, tillering, and jointing, and the corresponding chlorophyll contents were measured. The proposed MRC method was employed to select optimal wavelengths for analysis, and subsequent partial least squares regression (PLSR) and Gaussian process regression (GPR) models were developed to establish the relationship between the selected wavelengths and the measured chlorophyll contents. In comparison to full-spectrum modelling and other commonly employed wavelength selection techniques, the proposed simplified MRC-GPR model, utilizing a subset of 291 selected wavelengths, demonstrated superior performance. The MRC-GPR model achieved higher coefficient of determination of 0.9665 and 0.8659, and lower root mean squared error of 1.7624 and 3.2029, for calibration set and prediction set, respectively. Results showed that the GPR model, a nonlinear regression approach, outperformed the PLSR model.
The proliferation of pathogenic fungi in sugarcane crops poses a significant threat to agricultural productivity and economic sustainability. Early identification and management of sugarcane diseases are therefore crucial to mitigate the adverse impacts of these pathogens. In this study, visible and near-infrared spectroscopy (380-1400 nm) combined with a novel wavelength selection method, referred to as modified flower pollination algorithm (MFPA), was utilized for sugarcane disease recognition. The selected wavelengths were incorporated into machine learning models, including Naïve Bayes, random forest, and support vector machine (SVM). The developed simplified SVM model, which utilized the MFPA wavelength selection method yielded the best performances, achieving a precision value of 0.9753, a sensitivity value of 0.9259, a specificity value of 0.9524, and an accuracy of 0.9487. These results outperformed those obtained by other wavelength selection approaches, including the selectivity ratio, variable importance in projection, and the baseline method of the flower pollination algorithm.
Consumption of agricultural products with pesticide residue is risky and can negatively affect health. This study proposed a nondestructive method of detecting pesticide residues in chili pepper based on the combination of visible and near-infrared (VIS/NIR) spectroscopy (400-2498 nm) and deep learning modeling. The obtained spectra of chili peppers with two types of pesticide residues (acetamiprid and imidacloprid) were analyzed using a one-dimensional convolutional neural network (1D-CNN). Compared with the commonly used partial least squares regression model, the 1D-CNN approach yielded higher prediction accuracy, with a root mean square error of calibration of 0.23 and 0.28 mg/kg and a root mean square error of prediction of 0.55 and 0.49 mg/kg for the acetamiprid and imidacloprid data sets, respectively. Overall, the results indicate that the combination of the 1D-CNN model and VIS/NIR spectroscopy is a promising nondestructive method of identifying pesticide residues in chili pepper.
Dragon fruit (Hylocereus undatus) is a tropical and subtropical fruit that undergoes multiple ripening cycles throughout the year. Accurate monitoring of the flower and fruit quantities at various stages is crucial for growers to estimate yields, plan orders, and implement effective management strategies. However, traditional manual counting methods are labor-intensive and inefficient. Deep learning techniques have proven effective for object recognition tasks but limited research has been conducted on dragon fruit due to its unique stem morphology and the coexistence of flowers and fruits. Additionally, the challenge lies in developing a lightweight recognition and tracking model that can be seamlessly integrated into mobile platforms, enabling on-site quantity counting. In this study, a video stream inspection method was proposed to classify and count dragon fruit flowers, immature fruits (green fruits), and mature fruits (red fruits) in a dragon fruit plantation. The approach involves three key steps: (1) utilizing the YOLOv5 network for the identification of different dragon fruit categories, (2) employing the improved ByteTrack object tracking algorithm to assign unique IDs to each target and track their movement, and (3) defining a region of interest area for precise classification and counting of dragon fruit across categories. Experimental results demonstrate recognition accuracies of 94.1%, 94.8%, and 96.1% for dragon fruit flowers, green fruits, and red fruits, respectively, with an overall average recognition accuracy of 95.0%. Furthermore, the counting accuracy for each category is measured at 97.68%, 93.97%, and 91.89%, respectively. The proposed method achieves a counting speed of 56 frames per second on a 1080ti GPU. The findings establish the efficacy and practicality of this method for accurate counting of dragon fruit or other fruit varieties.
Utilizing visible and near-infrared (Vis-NIR) spectroscopy in conjunction with chemometrics methods has been widespread for identifying plant diseases. However, a key obstacle involves the extraction of relevant spectral characteristics. This study aimed to enhance sugarcane disease recognition by combining convolutional neural network (CNN) with continuous wavelet transform (CWT) spectrograms for spectral features extraction within the Vis-NIR spectra (380-1400 nm) to improve the accuracy of sugarcane diseases recognition. Using 130 sugarcane leaf samples, the obtained one-dimensional CWT coefficients from Vis-NIR spectra were transformed into two-dimensional spectrograms. Employing CNN, spectrogram features were extracted and incorporated into decision tree, K-nearest neighbour, partial least squares discriminant analysis, and random forest (RF) calibration models. The RF model, integrating spectrogram-derived features, demonstrated the best performance with an average precision of 0.9111, sensitivity of 0.9733, specificity of 0.9791, and accuracy of 0.9487. This study may offer a non-destructive, rapid, and accurate means to detect sugarcane diseases, enabling farmers to receive timely and actionable insights on the crops' health, thus minimizing crop loss and optimizing yields.