Prediction Model and Demonstration of Regional Agricultural Carbon Emissions Based on PCA-GS-KNN: A Case Study of Zhejiang Province, China

Yanwei Qi,Huailiang Liu,Jianbo Zhao,Xinghua Xia
DOI: https://doi.org/10.1088/2515-7620/acd0f7
2023-04-28
Environmental Research Communications
Abstract:This paper proposes a prediction algorithm combining principal component analysis (PCA), grid search (GS) and K-nearest neighbor (KNN). First, to solve the multicollinearity problem in multiple regression, principal component analysis is applied to select the principal components of regression variables; then, the K-nearest neighbor regression prediction model is used for data training, and the grid search is used to obtain better prediction model parameters to solve the problem of parameter selection in the traditional prediction model of K-nearest neighbor regression; finally, the optimized prediction model is used to demonstrate the regional agricultural carbon emissions, taking Zhejiang Province of China as a case. The results show that the algorithm is superior to other prediction models in prediction accuracy, and can accurately predict regional agricultural carbon emissions.
environmental sciences
What problem does this paper attempt to address?