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

Missing of the poisoning attack evaluation? #7

Closed
SleepyHC opened this issue Apr 26, 2023 · 2 comments
Closed

Missing of the poisoning attack evaluation? #7

SleepyHC opened this issue Apr 26, 2023 · 2 comments

Comments

@SleepyHC
Copy link

SleepyHC commented Apr 26, 2023

Thanks for the code!

I wonder is there are evaluation on the attack result, for example, the recommendation rate for the target item? I have run the code and did not find any output for it.

@CoderWZW
Copy link
Owner

Thanks for the code!

I wonder is there are evaluation on the attack result, for example, the recommendation rate for the target item? I have run the code and did not find any output for it.

Thank you for your issue!
We save and output the results in the file named "log". Four evaluation metrics hit ratio, precision, ndcg and recall are shown in the log. The format is like this :

----------Target Attack Test Result Poisoning Environment on Average (Evaluation Metrics @Top-(20))----------
Top 20
HitRate : 0.16593059936908516
Precision : 0.00829652996845426
Recall : 0.03318611987381704
NDCG : 0.01831441867511322

If there are any problems, please contact us!

@SleepyHC
Copy link
Author

Thanks for your help! I've got the point.

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