Create abstract DPAverageQuery
Some algorithms like DP Federated Averaging need to support weighted DP means. The "weight" could be an argument to preprocess_record, but not all DPQueries need to support weighted records. An abstract subclass of DPQuery called DPAverageQuery could add that argument. As another advantage, algorithms that require an average could check the type of DPQuery to ensure that it is a subclass of DPAverageQuery.
Is DP Federated Averaging supported at the moment?
@galenmandrew @kairouzp should be able to answer your question
TF Privacy is designed to be compatible with TFF. Integrating these two should be easy, and we are going to do it very soon.
At the moment TFF works on TF2, but TFP works on TF1. Any suggestions on how to combine these two?
By downgrading TFF to a version compatible with TF1 we miss many features.