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

when all winners in every battle is model A (or model B or tie), the Evaluating will get error at the function of "compute_mle_elo" #4

Open
Number18-tong opened this issue Nov 5, 2024 · 1 comment

Comments

@Number18-tong
Copy link

Number18-tong commented Nov 5, 2024

when all winners in every battle is model A (or model B or tie), the Evaluating will get error at the line 180 of the function "compute_mle_elo" in utils/score_utils.py. It is possible for the situation that all winners are same type, really hope a way to solve the problem.

@RuochenZhao
Copy link
Collaborator

Hi, I think this is a problem with the logistic regression function we use. It will need at least two classes to fit the regression: you can see https://stackoverflow.com/questions/63692895/is-there-a-way-to-build-a-logistic-regression-model-even-if-there-is-only-one-cl for this concern.

I'm not sure whether there's a workaround. An immediate solution would be trying to increase the sample size of the debates so that you could get at least two classes?

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