Prediction model of dissolved oxygen content in aquaculture water based on self-attention mechanism and improved K-BiLSTM
In order to accurately predict the content of dissolved oxygen(DO)in aquaculture water,a prediction mod-el of dissolved oxygen content in aquaculture water based on self-attention mechanism(ATTN)and improved K-means cluste-ring-bidirectional long-term and short-term memory network(BiLSTM)was proposed.Firstly,according to the similarity of environmental data,the improved K-means algorithm was used to divide environmental data into several categories.Then,based on BiLSTM,residual connection was constructed and batch normalization(BN)was added to complete high-level fea-ture extraction,and the feature information was saved by the long-term memory ability of BiLSTM.Finally,the self-attention mechanism was introduced to highlight the importance of data characteristics at different time nodes,which further improved the performance of the model.The experimental results showed that the mean absolute error(MAE),root mean square error(RMSE)and average absolute percentage error(MAPE)of the hybrid model based on self-attention mechanism and improved K-BiLSTM were 0.238,0.322 and 0.035,re-spectively.Compared with single BP model,CNN-LSTM model and traditional K-means-BiLSTM-ATTN model based on residual and BN,the model constructed in this study had better prediction performance and generalization ability.
aquaculturedissolved oxygen predictionK-means clusteringbidirectional long-term and short-term memory network(BiLSTM)self-attention mechanism