Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tiago Peixoto
graph-tool
Commits
9774522c
Commit
9774522c
authored
Jul 08, 2015
by
Tiago Peixoto
Browse files
Fix typo in mcmc_sweep()
parent
c9227dee
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/graph_tool/community/blockmodel.py
View file @
9774522c
...
...
@@ -824,7 +824,7 @@ def get_akc(B, I, N=float("inf"), directed=False):
def
mcmc_sweep
(
state
,
beta
=
1.
,
c
=
1.
,
niter
=
1
,
dl
=
False
,
dense
=
False
,
multigraph
=
False
,
node_coherent
=
False
,
confine_layers
=
False
,
sequential
=
True
,
parallel
=
False
,
vertices
=
None
,
target_
group
s
=
None
,
verbose
=
False
,
**
kwargs
):
target_
block
s
=
None
,
verbose
=
False
,
**
kwargs
):
r
"""Performs a Markov chain Monte Carlo sweep on the network, to sample the block partition according to a probability :math:`\propto e^{-\beta \mathcal{S}_{t/c}}`, where :math:`\mathcal{S}_{t/c}` is the blockmodel entropy.
Parameters
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment