DSformer for Ship Motion Prediction: A Statistics-Driven Framework with Environment-Adaptive Hyperparameter Tuning | Synapse