Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add examples *from the paper* in an examples folder for easy explanation of how the code works. #70

Open
fhoussiau opened this issue Jul 4, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@fhoussiau
Copy link
Collaborator

fhoussiau commented Jul 4, 2022

The goal is to illustrate how to use the various parts of our toolbox together to kickstart code-writing for developers.

To begin with, it would be good to have a simple example with the full pipeline.

@fhoussiau fhoussiau self-assigned this Jul 4, 2022
@fhoussiau
Copy link
Collaborator Author

This issue has been marked as ongoing for over a month, because as written it doesn't have an end condition.

The examples folder has been added in previous pull requests, and pull request #92 adds an example for AIAs. Once #93 is accepted, we will add an example for multiply-targeted MIAs/AIAs. Once that is done, it would be good to add an example with multiple generators, multiple targets, multiple attacks and multiple metrics to show how reporting works when it has multiple dimensions. That would close this issue.

@FerdoosHN
Copy link

Is it possible to modify and update the following code in the example provided for the multi-attacks?

Finally, group together the summaries as a report.

print("Publishing a report.")
report = prive.report.MIAttackReport(summaries)
report.create_report("multiple_mia")

AttributeError: 'MIAttackReport' object has no attribute 'create_report'

@fhoussiau fhoussiau changed the title Add examples in an examples folder for easy explanation of how the code works. Add examples *from the paper* in an examples folder for easy explanation of how the code works. Dec 21, 2022
@fhoussiau fhoussiau added the enhancement New feature or request label Dec 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants