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

How to calculate PrecisionRateAtN? #10

Open
MAX-OTW opened this issue Oct 21, 2023 · 0 comments
Open

How to calculate PrecisionRateAtN? #10

MAX-OTW opened this issue Oct 21, 2023 · 0 comments

Comments

@MAX-OTW
Copy link

MAX-OTW commented Oct 21, 2023

Hello, @iraikov , I'm sorry to bother you~Now, I have a procedural question to communicate with you:)This is the problem:
https://github.com/MubarizZaffar/VPR-Bench/blob/77ad30f3684476717188c67d7f3f66be19f832af/performance_comparison.py#L71C1-L104C1, this is the code for calculating RecallRateAtN, I would like to ask you how to calculate PrecisionRateAtN?I tried several times, but failed. Can you provide the relevant code?
note this:
Recall@N=TP@N/(TP@N+ FN@N);Precision@N=TP@N/(TP@N+ FP@N)
Could you please help me? Hope to receive your reply soon :)
Thanks & Best Regards!

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

1 participant