Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
graph-tool
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
39
Issues
39
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tiago Peixoto
graph-tool
Commits
55355c90
Commit
55355c90
authored
Jun 05, 2019
by
Tiago Peixoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small documentation fixes
parent
de0cf806
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
12 deletions
+12
-12
doc/demos/inference/_minimization.rst
doc/demos/inference/_minimization.rst
+1
-1
doc/demos/inference/_reconstruction.rst
doc/demos/inference/_reconstruction.rst
+9
-9
doc/demos/inference/_reconstruction_dynamics.rst
doc/demos/inference/_reconstruction_dynamics.rst
+2
-2
No files found.
doc/demos/inference/_minimization.rst
View file @
55355c90
...
@@ -21,7 +21,7 @@ network of American football teams, which we load from the
...
@@ -21,7 +21,7 @@ network of American football teams, which we load from the
os.chdir("demos/inference")
os.chdir("demos/inference")
except FileNotFoundError:
except FileNotFoundError:
pass
pass
gt.seed_rng(
7
)
gt.seed_rng(
8
)
.. testcode:: football
.. testcode:: football
...
...
doc/demos/inference/_reconstruction.rst
View file @
55355c90
...
@@ -191,9 +191,9 @@ Which yields the following output:
...
@@ -191,9 +191,9 @@ Which yields the following output:
.. testoutput:: measured
.. testoutput:: measured
Posterior probability of edge (11, 36): 0.
890889
...
Posterior probability of edge (11, 36): 0.
742674
...
Posterior probability of non-edge (15, 73): 0.0
56005
...
Posterior probability of non-edge (15, 73): 0.0
20702
...
Estimated average local clustering: 0.572
758 ± 0.003998
...
Estimated average local clustering: 0.572
384 ± 0.003466
...
We have a successful reconstruction, where both ambiguous adjacency
We have a successful reconstruction, where both ambiguous adjacency
matrix entries are correctly recovered. The value for the average
matrix entries are correctly recovered. The value for the average
...
@@ -312,9 +312,9 @@ Which yields:
...
@@ -312,9 +312,9 @@ Which yields:
.. testoutput:: measured
.. testoutput:: measured
Posterior probability of edge (11, 36): 0.
967896
...
Posterior probability of edge (11, 36): 0.
839483
...
Posterior probability of non-edge (15, 73): 0.0
38703
...
Posterior probability of non-edge (15, 73): 0.0
61106
...
Estimated average local clustering: 0.572
129 ± 0.005409
...
Estimated average local clustering: 0.572
476 ± 0.004370
...
The results are very similar to the ones obtained with the uniform model
The results are very similar to the ones obtained with the uniform model
in this case, but can be quite different in situations where a large
in this case, but can be quite different in situations where a large
...
@@ -441,9 +441,9 @@ The above yields the output:
...
@@ -441,9 +441,9 @@ The above yields the output:
.. testoutput:: uncertain
.. testoutput:: uncertain
Posterior probability of edge (11, 36): 0.
951195
...
Posterior probability of edge (11, 36): 0.
891889
...
Posterior probability of non-edge (15, 73): 0.02
07
02...
Posterior probability of non-edge (15, 73): 0.02
60
02...
Estimated average local clustering: 0.5
38731 ± 0.017645
...
Estimated average local clustering: 0.5
44468 ± 0.021562
...
The reconstruction is accurate, despite the two ambiguous entries having
The reconstruction is accurate, despite the two ambiguous entries having
the same measurement probability. The reconstructed network is visualized below.
the same measurement probability. The reconstructed network is visualized below.
...
...
doc/demos/inference/_reconstruction_dynamics.rst
View file @
55355c90
...
@@ -143,8 +143,8 @@ The reconstruction can accurately recover the hidden network and the infection p
...
@@ -143,8 +143,8 @@ The reconstruction can accurately recover the hidden network and the infection p
.. testoutput:: dynamics
.. testoutput:: dynamics
Posterior similarity: 0.978
108
...
Posterior similarity: 0.978
091
...
Inferred infection probability: 0.68
7213 ± 0.054126
Inferred infection probability: 0.68
809 ± 0.054207
The figure below shows the reconstructed network and the inferred community structure.
The figure below shows the reconstructed network and the inferred community structure.
...
...
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