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

Threshold value set to 0 in document_bert.py predict #25

Open
zeinramadan opened this issue Aug 8, 2021 · 0 comments
Open

Threshold value set to 0 in document_bert.py predict #25

zeinramadan opened this issue Aug 8, 2021 · 0 comments

Comments

@zeinramadan
Copy link

The paper claims that the threshold was 0.5 however in the code, specifically in the predict method in document_bert.py, the threshold's default value is 0. In the fit method, the predict function is called with no threshold argument so the threshold is 0. I just thought this could potentially be an error in the code.

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

1 participant