Skip to content
GitLab
  • Menu
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 47
    • Issues 47
    • 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 mailing list at https://graph-tool.skewed.de/mailing
(If unsure, use the mailing list first.)



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
  • #683
Closed
Open
Created Oct 11, 2020 by ddkda@ddkda

Typo in docs: changes results?

In the edge covariate example, when you pad the state for one of the examples I think you're using the wrong state variable? https://git.skewed.de/count0/graph-tool/-/blob/master/doc/demos/inference/_edge_weights.rst#L227

state_ln = state.copy(bs=state.get_bs() + [np.zeros(1)] * 4, sampling=True)

Should be ?

state_ln = state_ln.copy(bs=state_ln.get_bs() + [np.zeros(1)] * 4, sampling=True)

With this change I'm getting a significantly differently posterior odds ratio:

ln Λ: -30.50104261051456

Assignee
Assign to
Time tracking