The invention relates to an urban traffic road network CO2 emission and
haze grade prediction method and
system based on LSTM. The prediction method comprises the following steps: collecting road
monitoring data and vehicle
feature data as input data; performing feature analysis on the input data by using
principal component analysis and a
correlation coefficient method, and screening out feature variables related to CO2 emission and
haze grades as input feature variables; performing normalization
processing on the
data set of the input characteristic variables to obtain a normalized characteristic variable
data set; dividing the normalized characteristic variable
data set into a
training set and a
test set; constructing an LSTM
traffic emission prediction model, wherein the LSTM
traffic emission prediction model comprises a sequence input layer, an LSTM layer, a Dropout layer, a ReLU layer, a full connection layer and a regression output layer; configuring hyper-parameters of the LSTM
traffic emission prediction model by using an Adam
gradient descent algorithm, wherein the hyper-parameters comprise an initial learning rate, a batch size, an iteration frequency and a gradient threshold; and inputting the normalized characteristic variable data set into an LSTM traffic emission prediction model with set hyper-parameters for training to obtain a prediction model for the CO2 emission and the
haze grade of the urban
traffic network, and evaluating the prediction model for the CO2 emission and the haze grade by using an evaluation index. The LSTM-based urban
traffic network CO2 emission and haze grade prediction method provided by the invention gets rid of the subjective factor influence of a traditional experience-based prediction model, and the LSTM model with strong
time sequence can automatically learn key features, thereby avoiding the limitation of artificial experience.