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
265f792d
Commit
265f792d
authored
Apr 05, 2013
by
Tiago Peixoto
Browse files
Update citation information in blockmodel.py
parent
2583f906
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/graph_tool/community/blockmodel.py
View file @
265f792d
...
...
@@ -581,8 +581,8 @@ def model_entropy(B, N, E, directed):
References
----------
.. [peixoto-parsimonious-201
2
] Tiago P. Peixoto "Parsimonious module inference in large networks",
(2012)
, :arxiv:`1212.4794`.
.. [peixoto-parsimonious-201
3
] Tiago P. Peixoto
,
"Parsimonious module inference in large networks",
Phys. Rev. Lett. 110, 148701 (2013), :doi:`10.1103/PhysRevLett.110.148701`
, :arxiv:`1212.4794`.
"""
return
libcommunity
.
SB
(
float
(
B
),
int
(
N
),
int
(
E
),
directed
)
...
...
@@ -611,8 +611,8 @@ def get_max_B(N, E, directed=False):
References
----------
.. [peixoto-parsimonious-201
2
] Tiago P. Peixoto "Parsimonious module inference in large networks",
(2012)
, :arxiv:`1212.4794`.
.. [peixoto-parsimonious-201
3
] Tiago P. Peixoto
,
"Parsimonious module inference in large networks",
Phys. Rev. Lett. 110, 148701 (2013), :doi:`10.1103/PhysRevLett.110.148701`
, :arxiv:`1212.4794`.
"""
...
...
@@ -662,8 +662,8 @@ def get_akc(B, I, N=float("inf"), directed=False):
References
----------
.. [peixoto-parsimonious-201
2
] Tiago P. Peixoto "Parsimonious module inference in large networks",
(2012)
, :arxiv:`1212.4794`.
.. [peixoto-parsimonious-201
3
] Tiago P. Peixoto
,
"Parsimonious module inference in large networks",
Phys. Rev. Lett. 110, 148701 (2013), :doi:`10.1103/PhysRevLett.110.148701`
, :arxiv:`1212.4794`.
"""
if
N
!=
float
(
"inf"
):
...
...
@@ -779,7 +779,7 @@ def mcmc_sweep(state, beta=1., sequential=True, verbose=False, vertices=None):
the markov chain by proposing membership moves :math:`r\to s` with
probability :math:`p(r\to s|t) \propto e_{ts} + 1`, where :math:`t` is the
block label of a random neighbour of the vertex being moved. See
[peixoto-parsimonious-201
2
]_ for more details.
[peixoto-parsimonious-201
3
]_ for more details.
This algorithm has a complexity of :math:`O(E)`, where :math:`E` is the
number of edges in the network.
...
...
@@ -828,8 +828,8 @@ def mcmc_sweep(state, beta=1., sequential=True, verbose=False, vertices=None):
.. [peixoto-entropy-2012] Tiago P. Peixoto "Entropy of Stochastic Blockmodel
Ensembles." Physical Review E 85, no. 5 (2012): 056122. :doi:`10.1103/PhysRevE.85.056122`,
:arxiv:`1112.6028`.
.. [peixoto-parsimonious-201
2
] Tiago P. Peixoto "Parsimonious module inference in large networks",
(2012)
, :arxiv:`1212.4794`.
.. [peixoto-parsimonious-201
3
] Tiago P. Peixoto
,
"Parsimonious module inference in large networks",
Phys. Rev. Lett. 110, 148701 (2013), :doi:`10.1103/PhysRevLett.110.148701`
, :arxiv:`1212.4794`.
"""
if
len
(
state
.
vertices
)
==
1
:
...
...
@@ -1121,7 +1121,7 @@ def minimize_blockmodel_dl(g, deg_corr=True, nsweeps=100, adaptive_convergence=T
specific values of :math:`B` via :func:`mcmc_sweep` (with :math:`\beta = 1`
and :math:`\beta\to\infty`), and minimizing :math:`\Sigma_{t/c}` via an
one-dimensional Fibonacci search on :math:`B`. See
[peixoto-parsimonious-201
2
]_ for more details.
[peixoto-parsimonious-201
3
]_ for more details.
This algorithm has a complexity of :math:`O(\tau E\ln B_{\text{max}})`,
where :math:`E` is the number of edges in the network, :math:`\tau` is the
...
...
@@ -1170,8 +1170,8 @@ def minimize_blockmodel_dl(g, deg_corr=True, nsweeps=100, adaptive_convergence=T
.. [peixoto-entropy-2012] Tiago P. Peixoto "Entropy of Stochastic Blockmodel
Ensembles." Physical Review E 85, no. 5 (2012): 056122. :doi:`10.1103/PhysRevE.85.056122`,
:arxiv:`1112.6028`.
.. [peixoto-parsimonious-201
2
] Tiago P. Peixoto "Parsimonious module inference in large networks",
(2012)
, :arxiv:`1212.4794`.
.. [peixoto-parsimonious-201
3
] Tiago P. Peixoto
,
"Parsimonious module inference in large networks",
Phys. Rev. Lett. 110, 148701 (2013), :doi:`10.1103/PhysRevLett.110.148701`
, :arxiv:`1212.4794`.
"""
...
...
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