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 49
    • Issues 49
    • 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
  • #735
Closed
Open
Issue created Mar 07, 2022 by Pietro Battiston@toobaz2 of 2 checklist items completed2/2 checklist items

Docs for minimize_blockmodel_dl are out of date

Bug reports:

Please follow the general troubleshooting steps first:

  • Are you running the latest graph-tool version?
  • Do you observe the problem with the current git version?

Before seeing #725 (closed) , I banged my head for a while. After reading of the refactoring, I was quickly able to run my code, but the docs should reflect the refactoring. Instead they still display e.g. B_min as an argument to minimize_blockmodel_dl():

https://git.skewed.de/count0/graph-tool/-/blob/master/src/graph_tool/inference/minimize.py#L33

Probably relatedly, from graph_tool.inference import multilevel_mcmc_sweep raises

ImportError: cannot import name 'multilevel_mcmc_sweep' from 'graph_tool.inference' (/usr/lib/python3/dist-packages/graph_tool/inference/__init__.py)

... which again seems to be inconsistent with

https://graph-tool.skewed.de/static/doc/inference.html#graph_tool.inference.MultilevelMCMCState.multilevel_mcmc_sweep

Thanks!

Assignee
Assign to
Time tracking