inspirehep / beard

Bibliographic Entity Automatic Recognition and Disambiguation
Other
66 stars 36 forks source link

float category_size in the example file #97

Closed hajians closed 6 years ago

hajians commented 6 years ago

Hi! I'm opening this issue as I was testing/modifying the example scripts for Python3. I see in beard/examples/applications/author-disambiguation/sampling.py line 197:

category_size = sample_size / 4

shouldn't this be category_size = sample_size // 4? Thanks in advance for clarifying this :)

MSusik commented 6 years ago

@hajianOne Indeed, it should be // 4. Feel free to submit PR.