3.2.2. Results and Analysis of the GA-BPNN Model
The evaluation results of the GA-BPNN model for
CLCC, established using all wavelengths and feature wavelengths, are shown in
Table 3. The
RPD values of the GA-BPNN models for
CLCC, based on different numbers of wavelengths, are all greater than 1.4 and close to 2.0. This indicates that the model’s predictive performance is improved compared to the BPNN model. Among them, the model built using the 213 feature wavelengths selected by the COS method has superior performance. The calibration set’s
and
RMSEC are 0.790 and 2.60%, respectively, while the prediction set’s
R2 and
RMSEP are 0.814 and 2.58%, respectively. The GA-BPNN model built showed an improvement of 5.10% and 6.70% in the calibration set’s
and the prediction set’s
R2, respectively. The
RPD increased from 1.798 to 2.188, indicating an enhancement of the model’s predictive performance. This indicates that using the hyperspectral combined COS-GA-BPNN model can effectively achieve quantitative detection of
CLCC.
To validate the efficiency of the model, the prediction time of the GA-BPNN model was also statistically analyzed (
Table 3). As the number of feature wavelengths decreases, the model’s prediction time shortens. The running time of the GA-BPNN model built using the feature wavelengths selected by the COS method is 56.96% of the model built using all wavelengths, indicating a significant improvement in prediction model efficiency.
3.2.3. Results and Analysis of the PSO-BPNN Model
The evaluation results of the PSO-BPNN model for cotton chlorophyll content, established using all wavelengths and feature wavelengths, are shown in
Table 4. The
RPD values of the PSO-BPNN models for cotton leaf chlorophyll content, constructed using different numbers of wavelengths, are all greater than 2.0, indicating the excellent predictive performance of the models. Among them, the PSO-BPNN model established based on the full spectral range has calibration set
and
RMSEC values of 0.804 and 2.25%, respectively. The prediction set
R2 and
RMSEP values are 0.820 and 2.13%, respectively, with an
RPD of 2.432. The PSO-BPNN model established based on 213 feature wavelengths selected by the COS method has calibration set
and RMSEC values of 0.882 and 2.28%, respectively. The prediction set
R2 and
RMSEP values are 0.885 and 2.58%, respectively, with an RPD of 2.784. Compared to the PSO-BPNN model, the COS-PSO-BPNN model shows significant improvement in predictive performance. The calibration set
and prediction set
R2 have increased by 7.80% and 6.50% respectively. Additionally, the
RPD value has increased from 2.432 to 2.784, indicating a substantial enhancement of the model predictive ability. As the number of feature wavelengths decreases, the prediction time of the model is reduced. The runtime of the PSO-BPNN model established using feature wavelengths selected by the COS method is 48.09% of the model built using all wavelengths. Compared to the model built using all wavelengths, there is a significant improvement in the efficiency of the predictive model.
3.2.4. Results and Analysis of the SSA-BPNN Model
The evaluation results of the SSA-BPNN model, using all wavelengths and selected feature wavelengths, are presented in
Table 5. All models exhibited
RPD values greater than 3.0 and determination coefficients greater than 0.9. Based on different numbers of wavelengths, the performance of the cotton chlorophyll content SSA-BPNN model was significantly superior to the BPNN model. Among them, the SSA-BPNN model established based on the full wavelength range showed a calibration set
value of 0.914 and an
RMSEC value of 4.08%, while the prediction set had an
R2 value of 0.909 and an
RMSEP value of 3.62%. The
RPD value was 3.233. The SSA-BPNN model established using the COS method to select 213 feature wavelengths had a calibration set
value of 0.930 and an
RMSEC value of 3.18%, while the prediction set had an
R2 value of 0.920 and an
RMSEP value of 3.26%. The
RPD value increased to 3.524. Compared to the COS-PSO-BPNN and PSO-BPNN models, the calibration set
and prediction set
R2 increased by 1.60% and 1.10%, respectively, and the
RPD value improved from 3.233 to 3.524. The model’s predictive performance has been enhanced to some extent. The runtime of the SSA-BPNN model, built using the COS method to select feature wavelengths, was 34.27% of the model built using all wavelengths. Compared to the model built using all wavelengths, the prediction model efficiency was significantly improved.
3.2.5. Model Comparison
Comparing the results from
Table 2,
Table 3,
Table 4 and
Table 5, the predictive model performance for cotton leaf chlorophyll content, based on feature wavelengths selected using the COS method, was superior to the model established using the full spectrum of wavelengths. The BPNN model established using all wavelengths had
and RPD values of 0.611 and 1.285, respectively, for the calibration set. The GA-BPNN model established using all wavelengths had
and
RPD values of 0.739 and 1.798, respectively, for the calibration set. The PSO-BPNN model established using all wavelengths had
and
RPD values of 0.804 and 2.432, respectively, for the calibration set. The SSA-BPNN model established using all wavelengths had
and
RPD values of 0.914 and 3.233, respectively, for the calibration set. Among them, the SSA-BPNN showed the most significant improvement, with
and
RPD values for the calibration set increasing by 0.303 and 1.948, respectively, compared to the BPNN model.
The results indicate that, when modeling based on all wavelengths, the SSA-BPNN model outperforms the BPNN, GA-BPNN, and PSO-BPNN models in terms of performance. The BPNN model established based on feature wavelengths selected using the COS method had R2, RMSEP, and RPD values of 0.721, 3.05%, and 1.443, respectively, for the prediction set. The GA-BPNN model established using feature wavelengths selected with the COS method had R2, RMSEP, and RPD values of 0.814, 2.58%, and 2.188, respectively, for the prediction set. The PSO-BPNN model established using feature wavelengths selected with the COS method had R2, RMSEP, and RPD values of 0.885, 2.58%, and 2.784, respectively, for the prediction set. The SSA-BPNN model established using feature wavelengths selected with the COS method had R2, RMSEP, and RPD values of 0.920, 3.26%, and 3.524, respectively, for the prediction set. The results indicate that, after selecting feature wavelengths using the COS method, the regression performance of the SSA-BPNN model is significantly better than the BPNN model. The RPD of the GA-BPNN and PSO-BPNN models, optimized using the GA and PSO algorithms, respectively, increased from 1.443 to 2.188 and 2.784, respectively. This indicates that compared to the BPNN model, both the GA-BPNN and PSO-BPNN models exhibit improved regression performance, as well.
The schematic diagram of the fitted prediction models is shown in
Figure 6. The coefficient of determination (
) and the residual sum of squares (
RSS) express the degree of model fit. A higher coefficient of determination and a lower value of residual sum of squares indicate a better fit of the model. As shown in
Figure 6, the COS-SSA-BPNN model has the highest
value of 0.911 and the lowest
RSS value of 0.066, indicating a good fit of this model. The COS-SSA-BPNN model also has a narrower 95% confidence interval for prediction errors and a more concentrated distribution of data points, suggesting stronger overall data consistency, stability, and representativeness. This implies higher reliability of sample parameters and stronger predictive ability for the COS-SSA-BPNN model.
By analyzing the model evaluation criteria (, R2, RMSEC, RMSEP, and RPD) and polynomial fitting situation for each model, it can be concluded that the SSA-BPNN model, built using feature wavelengths selected with the COS method, performs the best. Furthermore, this model has the shortest prediction time and highest efficiency. Therefore, it can be concluded that the combination of hyperspectral data and the COS-SSA-BPNN model is effective for quantitative detection of chlorophyll content in cotton leaves.