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
b548dead
Commit
b548dead
authored
Jun 07, 2015
by
Tiago Peixoto
Browse files
Change default to nonoverlap_init=False in minimize_nested_blockmodel_dl()
parent
ee9eb8fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/graph_tool/community/nested_blockmodel.py
View file @
b548dead
...
@@ -1344,7 +1344,7 @@ def init_nested_state(g, Bs, ec=None, deg_corr=True, overlap=False,
...
@@ -1344,7 +1344,7 @@ def init_nested_state(g, Bs, ec=None, deg_corr=True, overlap=False,
def
minimize_nested_blockmodel_dl
(
g
,
Bs
=
None
,
bs
=
None
,
min_B
=
None
,
def
minimize_nested_blockmodel_dl
(
g
,
Bs
=
None
,
bs
=
None
,
min_B
=
None
,
max_B
=
None
,
max_b
=
None
,
deg_corr
=
True
,
max_B
=
None
,
max_b
=
None
,
deg_corr
=
True
,
overlap
=
False
,
ec
=
None
,
layers
=
False
,
overlap
=
False
,
ec
=
None
,
layers
=
False
,
confine_layers
=
False
,
nonoverlap_init
=
Tru
e
,
confine_layers
=
False
,
nonoverlap_init
=
Fals
e
,
dl
=
True
,
multigraph
=
True
,
dense
=
False
,
dl
=
True
,
multigraph
=
True
,
dense
=
False
,
eweight
=
None
,
vweight
=
None
,
clabel
=
None
,
eweight
=
None
,
vweight
=
None
,
clabel
=
None
,
frozen_levels
=
None
,
nsweeps
=
10
,
frozen_levels
=
None
,
nsweeps
=
10
,
...
@@ -1389,7 +1389,7 @@ def minimize_nested_blockmodel_dl(g, Bs=None, bs=None, min_B=None,
...
@@ -1389,7 +1389,7 @@ def minimize_nested_blockmodel_dl(g, Bs=None, bs=None, min_B=None,
If ``True``, and `´ec`` is not ``None`` and ``overlap == True``, the
If ``True``, and `´ec`` is not ``None`` and ``overlap == True``, the
half edges will only be moved in such a way that inside each layer the
half edges will only be moved in such a way that inside each layer the
group membership remains non-overlapping.
group membership remains non-overlapping.
nonoverlap_init : ``bool`` (optional, default: ``
Tru
e``)
nonoverlap_init : ``bool`` (optional, default: ``
Fals
e``)
If ``True``, and `´overlap == True``, the minimization starts by first
If ``True``, and `´overlap == True``, the minimization starts by first
fitting the non-overlapping model, and using that as a starting state.
fitting the non-overlapping model, and using that as a starting state.
dl : ``bool`` (optional, default: ``True``)
dl : ``bool`` (optional, default: ``True``)
...
...
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