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
43
Issues
43
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
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
4ce6f522
Commit
4ce6f522
authored
Jul 03, 2018
by
Tiago Peixoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
_reconstruction.rst: Limit output precision
This fixes tests with Python 2.7.
parent
1d7916cd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
doc/demos/inference/_reconstruction.rst
doc/demos/inference/_reconstruction.rst
+9
-9
No files found.
doc/demos/inference/_reconstruction.rst
View file @
4ce6f522
...
@@ -185,9 +185,9 @@ Which yields the following output:
...
@@ -185,9 +185,9 @@ Which yields the following output:
.. testoutput:: measured
.. testoutput:: measured
Posterior probability of edge (11, 36): 0.801980
198019802
Posterior probability of edge (11, 36): 0.801980
...
Posterior probability of non-edge (15, 73): 0.097309
73097309731
Posterior probability of non-edge (15, 73): 0.097309
...
Estimated average local clustering: 0.572154 ± 0.004853
14
Estimated average local clustering: 0.572154 ± 0.004853
...
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
...
@@ -306,9 +306,9 @@ Which yields:
...
@@ -306,9 +306,9 @@ Which yields:
.. testoutput:: measured
.. testoutput:: measured
Posterior probability of edge (11, 36): 0.790179
0179017901
Posterior probability of edge (11, 36): 0.790179
...
Posterior probability of non-edge (15, 73): 0.109010
90109010901
Posterior probability of non-edge (15, 73): 0.109010
...
Estimated average local clustering: 0.572504 ± 0.005453
37
Estimated average local clustering: 0.572504 ± 0.005453
...
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
...
@@ -434,9 +434,9 @@ The above yields the output:
...
@@ -434,9 +434,9 @@ The above yields the output:
.. testoutput:: uncertain
.. testoutput:: uncertain
Posterior probability of edge (11, 36): 0.950495
0495049505
Posterior probability of edge (11, 36): 0.950495
...
Posterior probability of non-edge (15, 73): 0.067406
7406740674
Posterior probability of non-edge (15, 73): 0.067406
...
Estimated average local clustering: 0.552333 ± 0.019183
1
Estimated average local clustering: 0.552333 ± 0.019183
...
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.
...
...
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