The invention discloses an industrial park weather
typing method and device integrating a self-organizing mapping neural network and a k-means
algorithm, and the method comprises the steps: firstly, constructing an initial
data set through
air quality monitoring data and ERA5 meteorological reanalysis data, converting the data into a numerical
value type, and carrying out the
standardization, so as to guarantee that the
feature data has the distribution with the mean value being 0 and the standard deviation being 1; thirdly, initializing a self-organizing mapping (SOM) model, and performing dimension reduction on the data by setting parameters such as
grid size, sigma and learning rate so as to obtain two-dimensional feature representation; then, initializing a k-means clustering model, setting a clustering number and a
random seed, and performing clustering analysis on the
feature data after dimension reduction by using a fitpredict () method so as to obtain a clustering
label of each sample; in the evaluation and
visualization stage, evaluation indexes such as SSE, MSE, RMSE, a contour coefficient and a Clinski-Harabasz index are calculated so as to evaluate the clustering effect and the separation degree. And finally, adding a clustering
label into the
original data, and visually analyzing the distribution of each feature under different clusters by using a
violin chart, thereby providing a visual basis for further analysis. According to the method, through integration of the SOM and the k-means model, the precision of
ozone concentration weather
typing of the small-scale industrial park is remarkably improved, and the high-concentration
ozone weather is divided more finely and more accurately.