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
011a2d32
Commit
011a2d32
authored
Feb 10, 2017
by
Tiago Peixoto
Browse files
inference.rst: reduce display precision of doctests
parent
7ca4f6b5
Pipeline
#259
failed with stage
in 180 minutes and 45 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
doc/demos/inference/inference.rst
View file @
011a2d32
...
...
@@ -1056,8 +1056,8 @@ evidence efficiently, as we show below, using
.. testoutput:: model-evidence
Model evidence for deg_corr = True: -568.528
992538
(mean field), -836.757
228592
(Bethe)
Model evidence for deg_corr = False: -583.539
285955
(mean field), -713.236
485072
(Bethe)
Model evidence for deg_corr = True: -568.528
...
(mean field), -836.757
...
(Bethe)
Model evidence for deg_corr = False: -583.539
...
(mean field), -713.236
...
(Bethe)
If we consider the more accurate approximation, the outcome shows a
preference for the non-degree-corrected model.
...
...
@@ -1121,8 +1121,8 @@ approach for the same network, using the nested model.
.. testoutput:: model-evidence
Model evidence for deg_corr = True: -353.976
003653
(mean field), -627.360
028395
(Bethe)
Model evidence for deg_corr = False: -365.361
286322
(mean field), -544.421
88322
(Bethe)
Model evidence for deg_corr = True: -353.976
...
(mean field), -627.360
...
(Bethe)
Model evidence for deg_corr = False: -365.361
...
(mean field), -544.421
..
(Bethe)
The results are similar: If we consider the most accurate approximation,
the non-degree-corrected model possesses the largest evidence. Note also
...
...
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