Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • graph-tool graph-tool
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 48
    • Issues 48
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

Please use the issue tracker only to report bugs (i.e. errors in the library that need to be fixed) or feature requests.

For questions about how to compile, install or use the library, please use instead the web forum at https://forum.skewed.de/c/graph-tool.


(If unsure, use the forum first.)


IMPORTANT: When opening new issues, please choose the BUG template from the drop-down menu, and fill out the required information.

  • Tiago Peixoto
  • graph-toolgraph-tool
  • Issues
  • #608
Closed
Open
Issue created Sep 05, 2019 by jspobst@jspobst

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

example.gt

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.

Assignee
Assign to
Time tracking