Aiming at the problem that the traditional water quality prediction method is difficult to capture the spatial and temporal characteristics of the sample, this paper proposes to establish a CNN-EA-ConvLSTM based water quality prediction model. The convolutional neural network (CNN) was used to reduce the dimensionality of the data and extract the sample features. Then the hidden information among samples was explored by the external attention mechanism. The convolutional long and short-term memory network (ConvLSTM) was further used to capture the spatial characteristics of the data. To achieve optimal results of the model, a genetic algorithm was used to optimize the parameters of the model. The water quality test data of Qinghai Province was used as a sample to simulate and validate the model. The results show that the mean absolute error (MMAE) of the model is 0.063, the root mean square error (RRMSE) is 0.012, and the mean absolute percentage error is 2.6%, which are respectively reduced by 18% and 24%, 14% and 25%, 16% and 21% compared with the CNN-EA model and CNN-LSTM model. Therefore, the model can effectively obtain the spatial and temporal characteristics of water quality, attenuate the influence of different samples, and achieve the ideal prediction effect.
| 科 Family | 属数 Number of genus | 种数 Number of species | 占总种数比例 Percentage of total species (%) | 属 Genus | 种数 Number of species | 占总种数比例 Percentage of total species (%) |
|---|---|---|---|---|---|---|
| 鹅膏菌科Amanitaceae | 2 | 11 | 5.26 | 鹅膏菌属 Amanita | 10 | 4.78 |
| 小菇科 Mycenaceae | 2 | 12 | 5.74 | 丝盖伞属 Inocybe | 5 | 2.39 |
| 多孔菌科 Polyporaceae | 8 | 14 | 6.70 | 蜡蘑属 Laccaria | 5 | 2.39 |
| 红菇科 Russulaceae | 3 | 23 | 11.00 | 小皮伞属 Marasmius | 6 | 2.87 |
| 小菇属 Mycena | 11 | 5.26 | ||||
| 光柄菇属 Pluteus | 5 | 2.39 | ||||
| 红菇属 Russula | 17 | 8.13 | ||||
| 栓菌属 Trametes | 5 | 2.39 |