Closed Hafizamariaiqbal closed 1 year ago
Can you provide a minimal reproducing code?
Thanks. You have to replace this line:
eps, best_alpha = self.privacy_engine.accountant.get_privacy_spent(
delta=self.delta
)
With this:
eps = self.privacy_engine.accountant.get_epsilon(
delta=self.delta
)
Thanks. You have to replace this line:
eps, best_alpha = self.privacy_engine.accountant.get_privacy_spent( delta=self.delta )
With this:
eps = self.privacy_engine.accountant.get_epsilon( delta=self.delta )
Thank you so much for Help. Now code is working.
Thanks. You have to replace this line:
eps, best_alpha = self.privacy_engine.accountant.get_privacy_spent( delta=self.delta )
With this:
eps = self.privacy_engine.accountant.get_epsilon( delta=self.delta )
Thank you so much for Help. Now code is working.
One more help require if you can please. I want to represent results into a graph form.
Closing the issue as the problem is solved. For the graph, I think you should keep a list like this:
epsilons = []
for ...:
eps = self.privacy_engine.accountant.get_epsilon(
delta=self.delta
)
epsilons.append(eps)
And then plot using something like
plt.plot(epsilons)
🚀 Feature
Motivation
Pitch
Alternatives
Additional context