-
-
Notifications
You must be signed in to change notification settings - Fork 269
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
Test contribution/robustness detector #1908
base: main
Are you sure you want to change the base?
Test contribution/robustness detector #1908
Conversation
Hello, Also, i didn't find any info related to the taxonomy, can you provider link for that ? I don't know which taxonomy is appropriate for categorial perubation. Last thing but not least, if you can check the code if it respect your standard, otherwise i would gladly change it. Thanks |
Hi @ChatBear !
Regarding the taxonomy, we use the AVID standard. I think the correct code for this detector would be: _taxonomy = ["avid-effect:performance:P0201"] P0201 is correspond to this taxonomy item:
You can find the taxonomy documentation here: https://docs.avidml.org/taxonomy/effect-sep-view/performance |
Thanks i'll add the taxonomy then |
I took some time off, that's why there is not update of the PR, I'll be able to continue the PR in middle of May ! |
Hey @ChatBear - Is this PR ready for review? |
Hi sorry, I didn't do the testing part, I don't have the time to finish it. Hope someone will finish the issue :( |
Description
This PR aim to add a new detector for testing the robustness when a single categorial values. I tried to add a detector and a new tranformation function which shuffle all categorial values and add in issue if the accuracy of the model decreased too much.
I created a new base categorial detector which basically has the same methods than the basedetectortext, only the method "run" change, we only take "category" feature insteand of text.
Furthermore, i tried to check info around the taxonomy, do you have a link or something in order to get more info around that, for now the taxonomy is None on the categorial detector class.
Related Issue
Scan: Add a robustness detector to the scan that perturbs categorial values #1847
#1847
Type of Change
Checklist
CODE_OF_CONDUCT.md
document.CONTRIBUTING.md
guide.pdm.lock
runningpdm update-lock
(only applicable whenpyproject.toml
has beenmodified)