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
38
Issues
38
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
1fcff03a
Commit
1fcff03a
authored
Sep 23, 2017
by
Tiago Peixoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
inference.rst: Change rng seed
parent
2483cbb2
Pipeline
#360
passed with stage
in 273 minutes and 40 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
doc/demos/inference/inference.rst
doc/demos/inference/inference.rst
+9
-9
No files found.
doc/demos/inference/inference.rst
View file @
1fcff03a
...
...
@@ -461,7 +461,7 @@ case of the `C. elegans` network we have
.. testsetup:: model-selection
gt.seed_rng(4
2
)
gt.seed_rng(4
3
)
.. testcode:: model-selection
...
...
@@ -476,8 +476,8 @@ case of the `C. elegans` network we have
.. testoutput:: model-selection
:options: +NORMALIZE_WHITESPACE
Non-degree-corrected DL:
8557.215637
...
Degree-corrected DL:
8229.533915
...
Non-degree-corrected DL:
8511.005312
...
Degree-corrected DL:
8225.167736
...
Since it yields the smallest description length, the degree-corrected
fit should be preferred. The statistical significance of the choice can
...
...
@@ -503,7 +503,7 @@ fits. In our particular case, we have
.. testoutput:: model-selection
:options: +NORMALIZE_WHITESPACE
ln Λ: -
327.681722
...
ln Λ: -
285.837575
...
The precise threshold that should be used to decide when to `reject a
hypothesis <https://en.wikipedia.org/wiki/Hypothesis_testing>`_ is
...
...
@@ -530,12 +530,12 @@ example, for the American football network above, we have:
.. testoutput:: model-selection
:options: +NORMALIZE_WHITESPACE
Non-degree-corrected DL: 17
55.860047
...
Degree-corrected DL: 17
80.576716
...
ln Λ: -
24.716669
...
Non-degree-corrected DL: 17
33.525685
...
Degree-corrected DL: 17
91.750418
...
ln Λ: -
58.224733
...
Hence, with a posterior odds ratio of :math:`\Lambda \approx \mathrm{e}^{-
24
} \approx
10^{-
10
}` in favor of the non-degree-corrected model, it seems like the
Hence, with a posterior odds ratio of :math:`\Lambda \approx \mathrm{e}^{-
58
} \approx
10^{-
26
}` in favor of the non-degree-corrected model, it seems like the
degree-corrected variant is an unnecessarily complex description for
this network.
...
...
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