Commit 9774522c authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

Fix typo in mcmc_sweep()

parent c9227dee
...@@ -824,7 +824,7 @@ def get_akc(B, I, N=float("inf"), directed=False): ...@@ -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, def mcmc_sweep(state, beta=1., c=1., niter=1, dl=False, dense=False,
multigraph=False, node_coherent=False, confine_layers=False, multigraph=False, node_coherent=False, confine_layers=False,
sequential=True, parallel=False, vertices=None, sequential=True, parallel=False, vertices=None,
target_groups=None, verbose=False, **kwargs): target_blocks=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. 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 Parameters
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment