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
5062d1e7
Commit
5062d1e7
authored
Feb 21, 2020
by
Tiago Peixoto
Browse files
inference: keep track of entropy range in mcmc_equilibrate() when force_niter is not None
parent
08dfc58c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/graph_tool/inference/mcmc.py
View file @
5062d1e7
...
...
@@ -135,6 +135,8 @@ def mcmc_equilibrate(state, wait=1000, nbreaks=2, max_niter=numpy.inf,
total_nattempts
+=
nattempts
if
force_niter
is
not
None
:
max_S
=
max
(
S
,
max_S
)
min_S
=
min
(
S
,
min_S
)
if
niter
>=
force_niter
:
break
else
:
...
...
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