-
Notifications
You must be signed in to change notification settings - Fork 4
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
float division by zero issue #106
Comments
I had a look at the blocklib/blocklib/evaluation.py Line 5 in b569b3f
There are two reasons why you might get a ZeroDivisionError.
Have a look at your data and make sure you provide it in the right format. |
I have used two datasets which are in text format in csv file that include 5 attributes (id, title, authors, venue. year).
I'm using the same above code but I have changed |
Note that the Hope it helps :) |
Here an example of my dataset:
The entity |
Given entity id is in column 0, I don't think you should put
|
Thanks Wang for your suggestions.
|
Hello Wang I am also getting the same error "ZeroDivisionError: float division by zero". Can you suggest something to remove this error? |
After running the evaluation methods I figure out that the ground truth value provided is different. My question is, it's necessary that ID or ground truth columns of both dataset should must be in same format?
|
When I want to asses blocking result using metrics rr $ pc , I got the message error "ZeroDivisionError: float division by zero". How could I fix it?
The text was updated successfully, but these errors were encountered: