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

AP@K Calculate #57

Open
yanyijiang09 opened this issue Sep 15, 2022 · 1 comment
Open

AP@K Calculate #57

yanyijiang09 opened this issue Sep 15, 2022 · 1 comment

Comments

@yanyijiang09
Copy link

if p in actual and p not in predicted[:i]:

Hello: I notice that the reuslt from running apk([1, 1, 1], [1, 1, 1], 3) does not return 1. I wonder if it should be if p in actual and p in predicted[:i+1]? Thank you.

@maayanorner
Copy link

You are right - it's incorrect.
I believe this repo is not maintained for very long, but I would still deprecate it - I spent a few hours on that, and it did not help this error also propagated to a tutorial on the subject.

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