Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tiago Peixoto
graphtool
Commits
667a4926
Commit
667a4926
authored
Oct 20, 2016
by
Tiago Peixoto
Browse files
inference.rst: Remove unnecessary test setups
parent
195526cf
Pipeline
#219
failed with stage
in 161 minutes and 12 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Sidebyside
Showing
1 changed file
with
0 additions
and
33 deletions
+0
33
doc/demos/inference/inference.rst
doc/demos/inference/inference.rst
+0
33
No files found.
doc/demos/inference/inference.rst
View file @
667a4926
...
@@ 548,15 +548,6 @@ example, the following will perform 1000 sweeps of the algorithm with
...
@@ 548,15 +548,6 @@ example, the following will perform 1000 sweeps of the algorithm with
the network of characters in the novel Les Misérables, starting from a
the network of characters in the novel Les Misérables, starting from a
random partition into 20 groups
random partition into 20 groups
.. testsetup:: modelaveraging
import os
try:
os.chdir("demos/inference")
except FileNotFoundError:
pass
.. testcode:: modelaveraging
.. testcode:: modelaveraging
g = gt.collection.data["lesmis"]
g = gt.collection.data["lesmis"]
...
@@ 761,14 +752,6 @@ analogous, but now we make use of
...
@@ 761,14 +752,6 @@ analogous, but now we make use of
Here we perform the sampling of hierarchical partitions using the same
Here we perform the sampling of hierarchical partitions using the same
network as above.
network as above.
.. testsetup:: nestedmodelaveraging
import os
try:
os.chdir("demos/inference")
except FileNotFoundError:
pass
.. testcode:: nestedmodelaveraging
.. testcode:: nestedmodelaveraging
g = gt.collection.data["lesmis"]
g = gt.collection.data["lesmis"]
...
@@ 1032,14 +1015,6 @@ evidence efficiently, as we show below, using
...
@@ 1032,14 +1015,6 @@ evidence efficiently, as we show below, using
:meth:`~graph_tool.inference.mf_entropy` and
:meth:`~graph_tool.inference.mf_entropy` and
:meth:`~graph_tool.inference.bethe_entropy`.
:meth:`~graph_tool.inference.bethe_entropy`.
.. testsetup:: modelevidence
import os
try:
os.chdir("demos/inference")
except FileNotFoundError:
pass
.. testcode:: modelevidence
.. testcode:: modelevidence
g = gt.collection.data["lesmis"]
g = gt.collection.data["lesmis"]
...
@@ 1285,14 +1260,6 @@ football network, using the nested model (for which we need to replace
...
@@ 1285,14 +1260,6 @@ football network, using the nested model (for which we need to replace
:
math
:`\
boldsymbol
b
`
by
:
math
:`\{\
boldsymbol
b_l
\}`
in
the
equations
:
math
:`\
boldsymbol
b
`
by
:
math
:`\{\
boldsymbol
b_l
\}`
in
the
equations
above
).
above
).
..
testsetup
::
missing

edges
import
os
try
:
os
.
chdir
(
"demos/inference"
)
except
FileNotFoundError
:
pass
..
testcode
::
missing

edges
..
testcode
::
missing

edges
:
hide
:
:
hide
:
...
...
Write
Preview
Markdown
is supported
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