Analysis of Total Variation Minimization for Clustered Federated Learning