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

QWK generates runtime warning #440

Open
aloukina opened this issue May 18, 2020 · 1 comment
Open

QWK generates runtime warning #440

aloukina opened this issue May 18, 2020 · 1 comment
Assignees

Comments

@aloukina
Copy link
Collaborator

aloukina commented May 18, 2020

There are edge cases where QWK function generates runtime warning:

  kappa = numerator / denominator
/opt/python/rsmtool/lib/python3.6/site-packages/rsmtool/utils/metrics.py:471: RuntimeWarning: invalid value encountered in double_scalars
  kappa = numerator / denominator

Might be related to #365

@aloukina aloukina self-assigned this May 18, 2020
@bwriordan
Copy link

I am getting this with subgroups of size 1; this is common in some datasets. It'd be helpful to have a message/warning given with that explanation.

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