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

Is there an error in the calculation of outlier score in spectral.py #44

Open
yangyang-1 opened this issue May 20, 2024 · 2 comments
Open

Comments

@yangyang-1
Copy link

According to the algorithm description in original paper,the outlier score should be calculated as follows:
image
However,you just calculate it by $\mathcal{R} \left( x_{\mathrm{i}} \right) $ in your code:
image

@mdzhangst
Copy link
Collaborator

Hello, in reference to the website backdoor_data_poisoning, the author gives a brief code which is written in the form of as we have.

@yangyang-1
Copy link
Author

Thank you for your reply,have you tried replacing full_cov with centered_cov to see the effect? I

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

No branches or pull requests

2 participants