Similar Items: ATC-FL: Adaptive Thompson Sampling for Efficient Clustering in Federated Learning