Federated learning for green shipping optimization and management