Skip to content

Update rank_bm25.py to avoid zero division#33

Open
shihanmax wants to merge 1 commit intodorianbrown:masterfrom
shihanmax:patch-1
Open

Update rank_bm25.py to avoid zero division#33
shihanmax wants to merge 1 commit intodorianbrown:masterfrom
shihanmax:patch-1

Conversation

@shihanmax
Copy link
Copy Markdown

self.idx may be zero, add eps to avoid ZeroDivision

`self.idx` may be zero, add eps to avoid ZeroDivision
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