Development of a Federated Learning Aggregation Algorithm