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

Fixed rank function based on rating prediction #520

Merged
merged 1 commit into from
Jul 19, 2023

Conversation

lthoang
Copy link
Member

@lthoang lthoang commented Jul 14, 2023

Description

When trade-off factor is set to 0 or the number of top aspects is 0, there is no need to compute the top aspect scores for ranking. This helps speeding up the ranking evaluation in such case.
The previous code is wrong due to using the wrong function.

Related Issues

Checklist:

  • I have added tests.
  • I have updated the documentation accordingly.
  • I have updated README.md (if you are adding a new model).
  • I have updated examples/README.md (if you are adding a new example).
  • I have updated datasets/README.md (if you are adding a new dataset).

@lthoang lthoang merged commit 57b190b into PreferredAI:master Jul 19, 2023
12 checks passed
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

Successfully merging this pull request may close these issues.

2 participants