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
412aa6f0
Commit
412aa6f0
authored
Sep 11, 2014
by
Tiago Peixoto
Browse files
Update references in blockmodel code
parent
1522bd8c
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/graph_tool/community/blockmodel.py
View file @
412aa6f0
...
...
@@ -914,6 +914,9 @@ def mcmc_sweep(state, beta=1., c=1., dl=False, dense=False, multigraph=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-model-2014] Tiago P. Peixoto, "Model selection and hypothesis
testing for large-scale network models with overlapping groups",
:arxiv:`1409.3059`.
"""
if
state
.
B
==
1
:
...
...
@@ -1935,6 +1938,9 @@ def minimize_blockmodel_dl(g, deg_corr=True, overlap=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-model-2014] Tiago P. Peixoto, "Model selection and hypothesis
testing for large-scale network models with overlapping groups",
:arxiv:`1409.3059`.
"""
nested_dl
=
kwargs
.
get
(
"nested_dl"
,
False
)
...
...
src/graph_tool/community/nested_blockmodel.py
View file @
412aa6f0
...
...
@@ -517,6 +517,9 @@ def nested_mcmc_sweep(state, beta=1., c=1., dl=False, sequential=True, verbose=F
.. [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-model-2014] Tiago P. Peixoto, "Model selection and hypothesis
testing for large-scale network models with overlapping groups",
:arxiv:`1409.3059`.
"""
rets
=
[]
...
...
@@ -835,6 +838,9 @@ def nested_tree_sweep(state, min_B=None, max_B=None, max_b=None, nsweeps=10,
.. [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-model-2014] Tiago P. Peixoto, "Model selection and hypothesis
testing for large-scale network models with overlapping groups",
:arxiv:`1409.3059`.
"""
dl_ent
=
kwargs
.
get
(
"dl_ent"
,
False
)
...
...
@@ -1095,6 +1101,9 @@ def init_nested_state(g, Bs, deg_corr=True, overlap=False, dl=False, dense=False
.. [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-model-2014] Tiago P. Peixoto, "Model selection and hypothesis
testing for large-scale network models with overlapping groups",
:arxiv:`1409.3059`.
"""
dl_ent
=
kwargs
.
get
(
"dl_ent"
,
False
)
...
...
@@ -1407,6 +1416,9 @@ def minimize_nested_blockmodel_dl(g, Bs=None, bs=None, min_B=None, max_B=None,
.. [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-model-2014] Tiago P. Peixoto, "Model selection and hypothesis
testing for large-scale network models with overlapping groups",
:arxiv:`1409.3059`.
"""
dl_ent
=
kwargs
.
get
(
"dl_ent"
,
False
)
...
...
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