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

Adding robustness metrics for binary classification #167

Closed

Conversation

fracarfer5
Copy link
Contributor

@fracarfer5 fracarfer5 commented Jul 22, 2024

  • Adding source code for empirical robustness and adversarial accuracy metrics
  • Adding source code for binary classification attackers (HSJ and Zoo)
  • Adding unit tests
  • Adding documentation
  • Adding implementation tutorial

crismunoz and others added 30 commits May 22, 2024 13:53
* many things

* merge struct and docs
* docs: formatting docstrings to numpy-like docs format

* chore: updating pyproject to ignore mitigation folder

* refactor: updating code with recommended ruff practices

* fix: updating pyproject for ruff support

* chore: updating pyprojectt

* chore: updating pyproject
* docs: updating docstrings for commons in bias mitigation methods

* docs: updating docstrings for preprocessing bias mitigation methods
* many things

* merge struct and docs

* update dataset and mitigation
* update dataet map function

* filter

* ok

* fix: headers
* feat: adding seed to allow reproducibility to synthetic generation ranking

* feat: adding recsys dataset and tolerance threshold parameter in check results function

* tests: adding tests for recsys mitigators for in-, pre-, and post-processing methods

* refactor: refactoring recsys tutorials with new dataset function

* refactor: refactoring recsys measuring bias tutorial with new dataset and updated paths
Co-authored-by: crismunoz <cristian.munoz@holisticai.com>
* reafactory: clean files

* fix: ruff

* update ruff
* fix: dataset and test

* fix: format

* chore: fix name

* chore: add cache dir

* chore: create cache dir

* chore: upate python viersion

* update with new versions numpy

* Update workflow

* chore: udpate types

* chore: update dependencies and remove invalid dependencies

* chore: update test

* chore: update changes

* chore: remove import
crismunoz and others added 19 commits July 23, 2024 16:44
* chore: update security and exaplainability

* test: fix atol
* feat: adding template for class docstrings rendering

* docs: updating docstrings for bias mitigation methods

* fix: renaming method

* fix: disabling ruff for privated method

* fix: updating variable name

* fix: updating variable name

* fix: making sensgroups variable public in reweighing

* fix: making sensgroups variable public in reweighing

* docs: fixing lint

* docs: updating methods and references from docstrings
…o feature/robustness-metrics-binary-classification
* docs: improve docstring and remove old dependenceis

* chore: hatch format
* docs: adding descriptions for inprocessing methods

* docs: updating method descriptions, adding index and reformatting sectinos

* docs: adding learning task note for all methods

* docs: adding documentation for adversarial debiasing and debiasing learning methods

---------

Co-authored-by: Cristian Muñoz <cristian.munoz@holisticai.com>
…o feature/robustness-metrics-binary-classification
* docs: improve docstring and remove old dependenceis

* chore: hatch format

* chore: update security info
* chore: partial dependence formatting

* chore: fmt
…o feature/robustness-metrics-binary-classification
@fracarfer5 fracarfer5 changed the base branch from holisticai-v1 to main July 30, 2024 14:45
@crismunoz
Copy link
Collaborator

  • Move your changes to the new branch from main
  • Remove BinclasAttacker
  • Add Attacker Tests (sugin 2 examples small parameters) test with 2 cases DataFrame input and Numpy Input.

@fracarfer5 fracarfer5 closed this Aug 8, 2024
@crismunoz crismunoz deleted the feature/robustness-metrics-binary-classification branch September 23, 2024 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants