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
4546c908
Commit
4546c908
authored
Mar 25, 2014
by
Tiago Peixoto
Browse files
Documentation updates
parent
fbb9adfb
Changes
3
Hide whitespace changes
Inline
Side-by-side
doc/conf.py
View file @
4546c908
...
...
@@ -197,7 +197,9 @@ intersphinx_mapping = {'python': ('http://docs.python.org', None),
'numpy'
:
(
'http://docs.scipy.org/doc/numpy'
,
None
),
'scipy'
:
(
'http://docs.scipy.org/doc/scipy/reference'
,
None
),
'matplotlib'
:
(
'http://matplotlib.sourceforge.net'
,
None
),
'cairo'
:
(
'http://www.cairographics.org/documentation/pycairo/3/'
,
None
)}
'cairo'
:
(
'http://www.cairographics.org/documentation/pycairo/3/'
,
None
),
'ipython'
:
(
'http://ipython.org/ipython-doc/stable/'
,
None
),
'panda'
:
(
'http://pandas.pydata.org/pandas-docs/stable/'
,
None
)}
extlinks
=
{
'ticket'
:
(
'http://graph-tool.skewed.de/tickets/ticket/%s'
,
'ticket '
),
...
...
src/graph_tool/community/blockmodel.py
View file @
4546c908
...
...
@@ -599,8 +599,9 @@ def model_entropy(B, N, E, directed=False, nr=None):
.. [peixoto-parsimonious-2013] Tiago P. Peixoto, "Parsimonious module inference in large networks",
Phys. Rev. Lett. 110, 148701 (2013), :doi:`10.1103/PhysRevLett.110.148701`, :arxiv:`1212.4794`.
.. [peixoto-hierarchical-2013] Tiago P. Peixoto, "Hierarchical block structures and high-resolution
model selection in large networks ", :arxiv:`1310.4377`.
.. [peixoto-hierarchical-2014] Tiago P. Peixoto, "Hierarchical block structures and high-resolution
model selection in large networks ", Phys. Rev. X 4, 011047 (2014), :doi:`10.1103/PhysRevX.4.011047`,
:arxiv:`1310.4377`.
"""
...
...
src/graph_tool/community/nested_blockmodel.py
View file @
4546c908
...
...
@@ -326,8 +326,9 @@ def nested_mcmc_sweep(state, beta=1., c=1., sequential=True, verbose=False):
.. [peixoto-efficient-2014] Tiago P. Peixoto, "Efficient Monte Carlo and greedy
heuristic for the inference of stochastic block models", Phys. Rev. E 89, 012804 (2014),
:doi:`10.1103/PhysRevE.89.012804`, :arxiv:`1310.4378`.
.. [peixoto-hierarchical-2013] Tiago P. Peixoto, "Hierarchical block structures and high-resolution
model selection in large networks ", :arxiv:`1310.4377`.
.. [peixoto-hierarchical-2014] Tiago P. Peixoto, "Hierarchical block structures and high-resolution
model selection in large networks ", Phys. Rev. X 4, 011047 (2014), :doi:`10.1103/PhysRevX.4.011047`,
:arxiv:`1310.4377`.
"""
rets
=
[]
...
...
@@ -563,8 +564,9 @@ def nested_tree_sweep(state, nsweeps=10, epsilon=0., r=2.,
.. [peixoto-efficient-2014] Tiago P. Peixoto, "Efficient Monte Carlo and greedy
heuristic for the inference of stochastic block models", Phys. Rev. E 89, 012804 (2014),
:doi:`10.1103/PhysRevE.89.012804`, :arxiv:`1310.4378`.
.. [peixoto-hierarchical-2013] Tiago P. Peixoto, "Hierarchical block structures
and high-resolution model selection in large networks ", :arxiv:`1310.4377`.
.. [peixoto-hierarchical-2014] Tiago P. Peixoto, "Hierarchical block structures and high-resolution
model selection in large networks ", Phys. Rev. X 4, 011047 (2014), :doi:`10.1103/PhysRevX.4.011047`,
:arxiv:`1310.4377`.
"""
if
minimize_state
is
None
:
...
...
@@ -794,8 +796,9 @@ def init_nested_state(g, Bs, deg_corr=True, dense=False,
.. [peixoto-efficient-2014] Tiago P. Peixoto, "Efficient Monte Carlo and greedy
heuristic for the inference of stochastic block models", Phys. Rev. E 89, 012804 (2014),
:doi:`10.1103/PhysRevE.89.012804`, :arxiv:`1310.4378`.
.. [peixoto-hierarchical-2013] Tiago P. Peixoto, "Hierarchical block structures
and high-resolution model selection in large networks ", :arxiv:`1310.4377`.
.. [peixoto-hierarchical-2014] Tiago P. Peixoto, "Hierarchical block structures and high-resolution
model selection in large networks ", Phys. Rev. X 4, 011047 (2014), :doi:`10.1103/PhysRevX.4.011047`,
:arxiv:`1310.4377`.
"""
if
minimize_state
is
None
:
...
...
@@ -974,7 +977,7 @@ def minimize_nested_blockmodel_dl(g, Bs=None, bs=None, deg_corr=True,
\mathcal{L}^l_t = \ln\left(\!\!{B_l\choose B_{l-1}}\!\!\right) + \ln B_{l-1}! - \sum_r \ln n_r^l!.
See [peixoto-hierarchical-201
3
]_ for details on the algorithm.
See [peixoto-hierarchical-201
4
]_ for details on the algorithm.
This algorithm has a complexity of :math:`O(N \ln^2 N)`, where :math:`N`
is the number of nodes in the network.
...
...
@@ -1011,9 +1014,9 @@ def minimize_nested_blockmodel_dl(g, Bs=None, bs=None, deg_corr=True,
References
----------
.. [peixoto-hierarchical-2013] Tiago P. Peixoto, "Hierarchical block structures and high-resolution
model selection in large networks ",
:arxiv:`1310.4377`.
.. [peixoto-hierarchical-2014] Tiago P. Peixoto, "Hierarchical block structures and high-resolution
model selection in large networks ", Phys. Rev. X 4, 011047 (2014), :doi:`10.1103/PhysRevX.4.011047`,
:arxiv:`1310.4377`.
.. [peixoto-efficient-2014] Tiago P. Peixoto, "Efficient Monte Carlo and greedy
heuristic for the inference of stochastic block models", Phys. Rev. E 89, 012804 (2014),
:doi:`10.1103/PhysRevE.89.012804`, :arxiv:`1310.4378`.
...
...
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