Abstract:In order to accurately obtain farmland CO2 emission flux and accurately monitor greenhouse gases, the measured data of CO2 were collected. Based on the spectral image data, the spectral reflectance of each sampling point was extracted, and the red edge band was introduced to improve the spectral index. The feature variables selected by variable importance in projection (VIP), Pearson correlation coefficient (PCC) and grey relational analysis (GRA) were used as the model input group. Based on the lightweight gradient boosting machine (LightGBM), back-propagation neural network (BPNN) and random forest (RF) machine learning algorithms, totally 36 CO2 emission flux inversion models of tomato farmland at different growth stages were constructed. The results showed that the accuracy of the model constructed by PCC-GRA variable selection method was better than that of VIP and PCC methods. The inversion effect of LightGBM was better than that of BPNN and RF models. The inversion results can truly reflect the CO2 emission flux of tomato farmland at different growth stages. Comparing the inversion accuracy of different models in each growth period, the inversion effect of LightGBM in growth period, flowering and fruit setting period and mature period was better than that of other models. The validation set determination coefficients R2p were 0.741, 0.818 and 0.779, respectively, and the root mean square errors (RMSEp) were 0.035mg/(m2·h), 0.040mg/(m2·h) and 0.229mg/(m2·h), respectively. The mean absolute errors (MAEp) were 0.028mg/(m2·h), 0.034mg/(m2·h) and 0.022mg/(m2·h), respectively. The inversion accuracy of the flowering and fruit setting period was the best. In the fruit enlargement period, the RF inversion effect was better than that of other models, R2p was 0.767, RMSEp was 0.031mg/(m2·h), MAEp was 0.360mg/(m2·h), and the dynamic change map of CO2 emission flux in the whole growth period based on the best inversion model PCC-GRA-LightGBM can truly reflect the change characteristics of CO2 emission flux in the study area. The results can provide a theoretical basis for the fine monitoring and estimation of farmland CO2 emission flux.