To address the issue of low accuracy in ship trajectory prediction in complex navigable waters, this paper proposes a GRU-Attention-BiLSTM model for ship trajectory prediction. In the encoder part, the Gated Recurrent Unit (GRU) is employed to capture temporal features in trajectory sequences. The decoder adopts a Bidirectional Long Short-Term Memory Network (BiLSTM) integrated with an Attention mechanism to adjust the weights of data features. The model input is based on the longitude, latitude, speed and heading of the ship at the historical moment, and the ship density in the water area after median filtering smoothing is introduced as an additional feature. Using Automatic Identification System (AIS) data from the core port area of Ningbo-Zhoushan Port in March 2024, the model was trained and validated. Quantitative and qualitative comparisons with GRU, LSTM, Seq2Seq-LSTM, Attention-BiLSTM, and Transformer models demonstrate that the proposed model achieves superior prediction performance across different prediction durations and navigation scenarios.
| 科 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 |