DP regression with Opacus

Hello,

Is there any example for DP regression in Opacus please?

Hi @AliSh, thank you for your questions. I’m presuming you are looking for an example of linear regression task. While we do not have an example in the Opacus repo at the moment, it should still work out of the box just and the workflow looks the same as that of other examples. (DP-SGD clips and noises gradients rather than the outputs).

Please let us know if you are running into any issues there.

P.S.: We do welcome and appreciate pull-request if you’d like to contribute an example :slight_smile: