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 can I add Mean Average Precision metric? #696

Open
ftcister opened this issue Sep 27, 2023 · 1 comment
Open

How can I add Mean Average Precision metric? #696

ftcister opened this issue Sep 27, 2023 · 1 comment

Comments

@ftcister
Copy link

Hello, I was reading several books on recommender systems and in the literature the mAP (Mean Average Precision) metric is used a lot and I wanted to know how I can implement it, in the tutorials and in the API only TopK Accuracy appears, I was wondering if anyone has already implemented mAP@K, thanks.

@rlcauvin
Copy link

rlcauvin commented Oct 5, 2023

It looks like you may use tfr.keras.metrics.MeanAveragePrecisionMetric.

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