Bad values for hub-suppressed vertex similarity.
Python 3.7
Graph-tool 2.29
Ubuntu 18.04.2
I'm getting hub-suppressed vertex similarity numbers that don't make sense (ie, they are >1). This can be reproduced using the attached graph-tool file and the following lines of code
import graph_tool.all as gt
g = gt.load_graph('example.gt')
gt.vertex_similarity(g,sim_type='hub-suppressed',
vertex_pairs=[[213574,256329]])
This produces a similarity of 8.28571429
NOTE: I compiled graph-tool manually:
================================================================================
CONFIGURATION SUMMARY
================================================================================
Using python version: 3.7.4
Python interpreter: /usr/local/anaconda/bin/python
Installation path: /usr/local/anaconda/lib/python3.7/site-packages/graph_tool
C++ compiler (CXX): g++ -std=gnu++17
C++ compiler version: 7
...
It looks like my boost version is 1.65.1 (that's what I found in boost/version.hpp in the directory specified in Boost CPP flags
)
Thank you.