Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial draft of second tutorial and graph files #13

Merged
merged 2 commits into from
Feb 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
90 changes: 90 additions & 0 deletions tutorials/complex_loose_struct.gexf
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
<?xml version='1.0' encoding='utf-8'?>
<gexf xmlns="http://www.gexf.net/1.2draft" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.gexf.net/1.2draft http://www.gexf.net/1.2draft/gexf.xsd" version="1.2">
<meta lastmodifieddate="2024-02-15">
<creator>NetworkX 3.2.1</creator>
</meta>
<graph defaultedgetype="directed" mode="static" name="">
<attributes mode="static" class="node">
<attribute id="0" title="x" type="double" />
<attribute id="1" title="y" type="double" />
<attribute id="2" title="type" type="string" />
</attributes>
<nodes>
<node id="Att" label="Att">
<attvalues>
<attvalue for="0" value="0.0" />
<attvalue for="1" value="4.0" />
<attvalue for="2" value="Att" />
</attvalues>
</node>
<node id="Env" label="Env">
<attvalues>
<attvalue for="0" value="1.0" />
<attvalue for="1" value="3.0" />
<attvalue for="2" value="Env" />
</attvalues>
</node>
<node id="S5" label="S5">
<attvalues>
<attvalue for="0" value="3.0" />
<attvalue for="1" value="1.0" />
<attvalue for="2" value="S5" />
</attvalues>
</node>
<node id="S1_1" label="S1_1">
<attvalues>
<attvalue for="0" value="4.0" />
<attvalue for="1" value="4.0" />
<attvalue for="2" value="S1" />
</attvalues>
</node>
<node id="S1_2" label="S1_2">
<attvalues>
<attvalue for="0" value="3.0" />
<attvalue for="1" value="3.0" />
<attvalue for="2" value="S1" />
</attvalues>
</node>
<node id="S1_3" label="S1_3">
<attvalues>
<attvalue for="0" value="2.0" />
<attvalue for="1" value="2.0" />
<attvalue for="2" value="S1" />
</attvalues>
</node>
<node id="S1_4" label="S1_4">
<attvalues>
<attvalue for="0" value="1.0" />
<attvalue for="1" value="1.0" />
<attvalue for="2" value="S1" />
</attvalues>
</node>
<node id="S1_5" label="S1_5">
<attvalues>
<attvalue for="0" value="0.0" />
<attvalue for="1" value="0.0" />
<attvalue for="2" value="S1" />
</attvalues>
</node>
</nodes>
<edges>
<edge source="Att" target="Env" id="0" />
<edge source="Env" target="S1_1" id="1" />
<edge source="Env" target="S1_2" id="2" />
<edge source="Env" target="S1_3" id="3" />
<edge source="Env" target="S1_4" id="4" />
<edge source="Env" target="S1_5" id="5" />
<edge source="S5" target="Env" id="6" label="feedback" />
<edge source="S5" target="S1_1" id="7" label="feedback" />
<edge source="S5" target="S1_2" id="8" label="feedback" />
<edge source="S5" target="S1_3" id="9" label="feedback" />
<edge source="S5" target="S1_4" id="10" label="feedback" />
<edge source="S5" target="S1_5" id="11" label="feedback" />
<edge source="S1_1" target="S5" id="12" />
<edge source="S1_2" target="S5" id="13" />
<edge source="S1_3" target="S5" id="14" />
<edge source="S1_4" target="S5" id="15" />
<edge source="S1_5" target="S5" id="16" />
</edges>
</graph>
</gexf>
143 changes: 143 additions & 0 deletions tutorials/complex_tight_struct.gexf
Original file line number Diff line number Diff line change
@@ -0,0 +1,143 @@
<?xml version='1.0' encoding='utf-8'?>
<gexf xmlns="http://www.gexf.net/1.2draft" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.gexf.net/1.2draft http://www.gexf.net/1.2draft/gexf.xsd" version="1.2">
<meta lastmodifieddate="2024-02-15">
<creator>NetworkX 3.2.1</creator>
</meta>
<graph defaultedgetype="directed" mode="static" name="">
<attributes mode="static" class="node">
<attribute id="0" title="x" type="double" />
<attribute id="1" title="y" type="double" />
<attribute id="2" title="type" type="string" />
</attributes>
<nodes>
<node id="Att" label="Att">
<attvalues>
<attvalue for="0" value="0.0" />
<attvalue for="1" value="5.0" />
<attvalue for="2" value="Att" />
</attvalues>
</node>
<node id="Env" label="Env">
<attvalues>
<attvalue for="0" value="1.0" />
<attvalue for="1" value="4.0" />
<attvalue for="2" value="Env" />
</attvalues>
</node>
<node id="S5" label="S5">
<attvalues>
<attvalue for="0" value="4.0" />
<attvalue for="1" value="1.0" />
<attvalue for="2" value="S5" />
</attvalues>
</node>
<node id="S4_1" label="S4_1">
<attvalues>
<attvalue for="0" value="4.0" />
<attvalue for="1" value="5.0" />
<attvalue for="2" value="S4" />
</attvalues>
</node>
<node id="S4_2" label="S4_2">
<attvalues>
<attvalue for="0" value="3.0" />
<attvalue for="1" value="4.0" />
<attvalue for="2" value="S4" />
</attvalues>
</node>
<node id="S4_3" label="S4_3">
<attvalues>
<attvalue for="0" value="2.0" />
<attvalue for="1" value="3.0" />
<attvalue for="2" value="S4" />
</attvalues>
</node>
<node id="S4_4" label="S4_4">
<attvalues>
<attvalue for="0" value="1.0" />
<attvalue for="1" value="2.0" />
<attvalue for="2" value="S4" />
</attvalues>
</node>
<node id="S4_5" label="S4_5">
<attvalues>
<attvalue for="0" value="0.0" />
<attvalue for="1" value="1.0" />
<attvalue for="2" value="S4" />
</attvalues>
</node>
<node id="S1_1" label="S1_1">
<attvalues>
<attvalue for="0" value="5.0" />
<attvalue for="1" value="4.0" />
<attvalue for="2" value="S1" />
</attvalues>
</node>
<node id="S1_2" label="S1_2">
<attvalues>
<attvalue for="0" value="4.0" />
<attvalue for="1" value="3.0" />
<attvalue for="2" value="S1" />
</attvalues>
</node>
<node id="S1_3" label="S1_3">
<attvalues>
<attvalue for="0" value="3.0" />
<attvalue for="1" value="2.0" />
<attvalue for="2" value="S1" />
</attvalues>
</node>
<node id="S1_4" label="S1_4">
<attvalues>
<attvalue for="0" value="2.0" />
<attvalue for="1" value="1.0" />
<attvalue for="2" value="S1" />
</attvalues>
</node>
<node id="S1_5" label="S1_5">
<attvalues>
<attvalue for="0" value="1.0" />
<attvalue for="1" value="0.0" />
<attvalue for="2" value="S1" />
</attvalues>
</node>
</nodes>
<edges>
<edge source="Att" target="Env" id="0" />
<edge source="Env" target="S4_1" id="1" />
<edge source="Env" target="S4_2" id="2" />
<edge source="Env" target="S4_3" id="3" />
<edge source="Env" target="S4_4" id="4" />
<edge source="Env" target="S4_5" id="5" />
<edge source="S5" target="Env" id="6" label="feedback" />
<edge source="S5" target="S4_1" id="7" label="feedback" />
<edge source="S5" target="S4_2" id="8" label="feedback" />
<edge source="S5" target="S4_3" id="9" label="feedback" />
<edge source="S5" target="S4_4" id="10" label="feedback" />
<edge source="S5" target="S4_5" id="11" label="feedback" />
<edge source="S5" target="S1_1" id="12" label="feedback" />
<edge source="S5" target="S1_2" id="13" label="feedback" />
<edge source="S5" target="S1_3" id="14" label="feedback" />
<edge source="S5" target="S1_4" id="15" label="feedback" />
<edge source="S5" target="S1_5" id="16" label="feedback" />
<edge source="S4_1" target="S1_3" id="17" />
<edge source="S4_1" target="S1_4" id="18" />
<edge source="S4_2" target="S1_1" id="19" />
<edge source="S4_2" target="S1_4" id="20" />
<edge source="S4_2" target="S1_5" id="21" />
<edge source="S4_3" target="S1_1" id="22" />
<edge source="S4_3" target="S1_2" id="23" />
<edge source="S4_3" target="S1_3" id="24" />
<edge source="S4_3" target="S1_4" id="25" />
<edge source="S4_4" target="S1_4" id="26" />
<edge source="S4_4" target="S1_5" id="27" />
<edge source="S4_5" target="S1_2" id="28" />
<edge source="S4_5" target="S1_4" id="29" />
<edge source="S1_1" target="S5" id="30" />
<edge source="S1_2" target="S5" id="31" />
<edge source="S1_3" target="S5" id="32" />
<edge source="S1_4" target="S5" id="33" />
<edge source="S1_5" target="S5" id="34" />
</edges>
</graph>
</gexf>
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"\n",
"## Introduction\n",
"\n",
"For this example, we are interested in understanding how representative (i.e., possible similarities and differences) a subset corpus is of the global corpus. The global corpus captures information about newspaper content collected from around the world during May 19-Jun 11, 2019. In contrast, the subset corpus contains only information about articles that were extracted (from the global corpus) using machine learning for a particular topic. Both the global and subset corpus datasets contain a count of the number of articles present for a given country and language on a particular date of publication."
"For this tutorial, we are interested in understanding how representative (i.e., possible similarities and differences) a subset corpus is of the global corpus. The global corpus captures information about newspaper content collected from around the world during May 19-Jun 11, 2019. In contrast, the subset corpus contains only information about articles that were extracted (from the global corpus) using machine learning for a particular topic. Both the global and subset corpus datasets contain a count of the number of articles present for a given country and language on a particular date of publication."
]
},
{
Expand Down Expand Up @@ -963,7 +963,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
Expand All @@ -977,7 +977,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.3"
"version": "3.11.5"
}
},
"nbformat": 4,
Expand Down
322 changes: 322 additions & 0 deletions tutorials/pyrocs_tutorial_structural_comparisons.ipynb

Large diffs are not rendered by default.

Loading