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

Bug fixing recall in _factual_correctness.py #1650

Merged
merged 1 commit into from
Nov 12, 2024

Conversation

GitMarco27
Copy link
Contributor

Bug fixing recall in factual correctness:

recall is equal to: tp / (tp + fn)

but was calculated exactly like the precision.

Reference: https://docs.ragas.io/en/latest/concepts/metrics/available_metrics/factual_correctness/#factual-correctness

Bug fixing recall in factual correctness:

recall is equal to: tp / (tp + fn)

but was calculated exactly like the precision
@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Nov 9, 2024
@jjmachan jjmachan merged commit c2c9d5b into explodinggradients:main Nov 12, 2024
16 checks passed
@jjmachan
Copy link
Member

thanks alot for that catch @GitMarco27 - will be out in todays release ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants