Skip to content

Commit

Permalink
doc updates [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
Circle Ci committed Aug 7, 2023
1 parent ae4799a commit 05055fe
Show file tree
Hide file tree
Showing 21 changed files with 39 additions and 39 deletions.
Binary file not shown.
Binary file not shown.
Binary file modified dev/_images/sphx_glr_plot_mixed_edge_graph_001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dev/_images/sphx_glr_plot_mixed_edge_graph_thumb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion dev/_sources/auto_examples/intro/inducing_path.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ References

.. rst-class:: sphx-glr-timing

**Total running time of the script:** ( 0 minutes 0.789 seconds)
**Total running time of the script:** ( 0 minutes 1.200 seconds)

**Estimated memory usage:** 8 MB

Expand Down
8 changes: 4 additions & 4 deletions dev/_sources/auto_examples/intro/intro_causal_graphs.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ Here, we will simulate some data to understand causal graphs in the context of S

.. code-block:: none
Fitting causal models: 0%| | 0/5 [00:00<?, ?it/s] Fitting causal mechanism of node x: 0%| | 0/5 [00:00<?, ?it/s] Fitting causal mechanism of node y: 0%| | 0/5 [00:00<?, ?it/s] Fitting causal mechanism of node z: 0%| | 0/5 [00:00<?, ?it/s] Fitting causal mechanism of node w: 0%| | 0/5 [00:00<?, ?it/s] Fitting causal mechanism of node xy: 0%| | 0/5 [00:00<?, ?it/s] Fitting causal mechanism of node xy: 100%|##########| 5/5 [00:00<00:00, 1262.89it/s]
Fitting causal models: 0%| | 0/5 [00:00<?, ?it/s] Fitting causal mechanism of node x: 0%| | 0/5 [00:00<?, ?it/s] Fitting causal mechanism of node y: 0%| | 0/5 [00:00<?, ?it/s] Fitting causal mechanism of node z: 0%| | 0/5 [00:00<?, ?it/s] Fitting causal mechanism of node w: 0%| | 0/5 [00:00<?, ?it/s] Fitting causal mechanism of node xy: 0%| | 0/5 [00:00<?, ?it/s] Fitting causal mechanism of node xy: 100%|##########| 5/5 [00:00<00:00, 1112.19it/s]
z ... y
0 1 ... 1
1 1 ... 3
Expand All @@ -184,7 +184,7 @@ Here, we will simulate some data to understand causal graphs in the context of S
y [1, 3, 2, 0]
dtype: object

<graphviz.graphs.Digraph object at 0x7f7370e8d850>
<graphviz.graphs.Digraph object at 0x7f4a3e701040>



Expand Down Expand Up @@ -305,7 +305,7 @@ in the graph. These unobserved confounders are graphically depicted with a bidir
.. code-block:: none
['z', 'x']
The ADMG has confounded-components: [{'y', 'x'}, {'z'}, {'w'}]
The ADMG has confounded-components: [{'x', 'y'}, {'z'}, {'w'}]
'z' is d-separated from 'x': True
'z' is d-separated from 'x' given 'y': False
'z' is d-separated from 'x' after adding a bidirected edge z<->x: False
Expand Down Expand Up @@ -424,7 +424,7 @@ References

.. rst-class:: sphx-glr-timing

**Total running time of the script:** ( 0 minutes 4.022 seconds)
**Total running time of the script:** ( 0 minutes 4.579 seconds)

**Estimated memory usage:** 59 MB

Expand Down
6 changes: 3 additions & 3 deletions dev/_sources/auto_examples/intro/sg_execution_times.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@

Computation times
=================
**00:04.810** total execution time for **auto_examples_intro** files:
**00:05.780** total execution time for **auto_examples_intro** files:

+-----------------------------------------------------------------------------------------+-----------+---------+
| :ref:`sphx_glr_auto_examples_intro_intro_causal_graphs.py` (``intro_causal_graphs.py``) | 00:04.022 | 58.8 MB |
| :ref:`sphx_glr_auto_examples_intro_intro_causal_graphs.py` (``intro_causal_graphs.py``) | 00:04.579 | 59.1 MB |
+-----------------------------------------------------------------------------------------+-----------+---------+
| :ref:`sphx_glr_auto_examples_intro_inducing_path.py` (``inducing_path.py``) | 00:00.789 | 8.4 MB |
| :ref:`sphx_glr_auto_examples_intro_inducing_path.py` (``inducing_path.py``) | 00:01.200 | 8.4 MB |
+-----------------------------------------------------------------------------------------+-----------+---------+
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ Mixed Edge Graph Properties
MixedEdgeGraph named 'IV Graph' with 3 nodes and 3 edges and 2 edge types is directed: False because there are directed edges.
False
['directed', 'bidirected']
{'directed': <networkx.classes.digraph.DiGraph object at 0x7f738b7f5a00>, 'bidirected': <networkx.classes.graph.Graph object at 0x7f738b7a8040>}
{'directed': <networkx.classes.digraph.DiGraph object at 0x7f4a695a91f0>, 'bidirected': <networkx.classes.graph.Graph object at 0x7f4a695a92b0>}
Expand Down Expand Up @@ -199,7 +199,7 @@ Mixed Edge Graph Operations on Nodes

.. code-block:: none
MixedEdgeGraph named 'IV Graph' with 3 nodes and 3 edges and 2 edge types has nodes: ['Z', 'X', 'Y']
MixedEdgeGraph named 'IV Graph' with 3 nodes and 3 edges and 2 edge types has nodes: ['Z', 'Y', 'X']
Graph has node A: False
Now graph has node A: True
Graph has node A: False
Expand Down Expand Up @@ -317,7 +317,7 @@ class properties. Moreover, one can specify the edge type.
.. rst-class:: sphx-glr-timing

**Total running time of the script:** ( 0 minutes 1.051 seconds)
**Total running time of the script:** ( 0 minutes 1.411 seconds)

**Estimated memory usage:** 17 MB

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

Computation times
=================
**00:01.051** total execution time for **auto_examples_mixededge** files:
**00:01.411** total execution time for **auto_examples_mixededge** files:

+-------------------------------------------------------------------------------------------------+-----------+---------+
| :ref:`sphx_glr_auto_examples_mixededge_plot_mixed_edge_graph.py` (``plot_mixed_edge_graph.py``) | 00:01.051 | 17.0 MB |
| :ref:`sphx_glr_auto_examples_mixededge_plot_mixed_edge_graph.py` (``plot_mixed_edge_graph.py``) | 00:01.411 | 16.7 MB |
+-------------------------------------------------------------------------------------------------+-----------+---------+
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ such as `Dagitty <http://dagitty.net>`_.
.. rst-class:: sphx-glr-timing

**Total running time of the script:** ( 0 minutes 0.447 seconds)
**Total running time of the script:** ( 0 minutes 0.532 seconds)

**Estimated memory usage:** 8 MB

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ which creates a nice default layout for time-series graphs.
.. rst-class:: sphx-glr-timing

**Total running time of the script:** ( 0 minutes 0.901 seconds)
**Total running time of the script:** ( 0 minutes 1.144 seconds)

**Estimated memory usage:** 8 MB

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@

Computation times
=================
**00:01.348** total execution time for **auto_examples_visualization** files:
**00:01.676** total execution time for **auto_examples_visualization** files:

+-------------------------------------------------------------------------------------------------------------------------------------------+-----------+--------+
| :ref:`sphx_glr_auto_examples_visualization_plot_timeseries_graphs.py` (``plot_timeseries_graphs.py``) | 00:00.901 | 8.4 MB |
| :ref:`sphx_glr_auto_examples_visualization_plot_timeseries_graphs.py` (``plot_timeseries_graphs.py``) | 00:01.144 | 8.4 MB |
+-------------------------------------------------------------------------------------------------------------------------------------------+-----------+--------+
| :ref:`sphx_glr_auto_examples_visualization_draw_and_compare_graphs_with_same_layout.py` (``draw_and_compare_graphs_with_same_layout.py``) | 00:00.447 | 8.4 MB |
| :ref:`sphx_glr_auto_examples_visualization_draw_and_compare_graphs_with_same_layout.py` (``draw_and_compare_graphs_with_same_layout.py``) | 00:00.532 | 8.4 MB |
+-------------------------------------------------------------------------------------------------------------------------------------------+-----------+--------+
2 changes: 1 addition & 1 deletion dev/auto_examples/intro/inducing_path.html
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ <h2>References<a class="headerlink" href="#references" title="Permalink to this
</aside>
</aside>
</div>
<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> ( 0 minutes 0.789 seconds)</p>
<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> ( 0 minutes 1.200 seconds)</p>
<p><strong>Estimated memory usage:</strong> 8 MB</p>
<div class="sphx-glr-footer sphx-glr-footer-example docutils container" id="sphx-glr-download-auto-examples-intro-inducing-path-py">
<div class="sphx-glr-download sphx-glr-download-python docutils container">
Expand Down
8 changes: 4 additions & 4 deletions dev/auto_examples/intro/intro_causal_graphs.html
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ <h2>Structural Causal Models: Simulating some data<a class="headerlink" href="#s
Fitting causal mechanism of node z: 0%| | 0/5 [00:00&lt;?, ?it/s]
Fitting causal mechanism of node w: 0%| | 0/5 [00:00&lt;?, ?it/s]
Fitting causal mechanism of node xy: 0%| | 0/5 [00:00&lt;?, ?it/s]
Fitting causal mechanism of node xy: 100%|##########| 5/5 [00:00&lt;00:00, 1262.89it/s]
Fitting causal mechanism of node xy: 100%|##########| 5/5 [00:00&lt;00:00, 1112.19it/s]
z ... y
0 1 ... 1
1 1 ... 3
Expand All @@ -451,7 +451,7 @@ <h2>Structural Causal Models: Simulating some data<a class="headerlink" href="#s
y [1, 3, 2, 0]
dtype: object

&lt;graphviz.graphs.Digraph object at 0x7f7370e8d850&gt;
&lt;graphviz.graphs.Digraph object at 0x7f4a3e701040&gt;
</pre></div>
</div>
</section>
Expand Down Expand Up @@ -535,7 +535,7 @@ <h2>Acyclic Directed Mixed Graphs (ADMG)<a class="headerlink" href="#acyclic-dir
</pre></div>
</div>
<img src="../../_images/sphx_glr_intro_causal_graphs_002.png" srcset="../../_images/sphx_glr_intro_causal_graphs_002.png" alt="intro causal graphs" class = "sphx-glr-single-img"/><div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>[&#39;z&#39;, &#39;x&#39;]
The ADMG has confounded-components: [{&#39;y&#39;, &#39;x&#39;}, {&#39;z&#39;}, {&#39;w&#39;}]
The ADMG has confounded-components: [{&#39;x&#39;, &#39;y&#39;}, {&#39;z&#39;}, {&#39;w&#39;}]
&#39;z&#39; is d-separated from &#39;x&#39;: True
&#39;z&#39; is d-separated from &#39;x&#39; given &#39;y&#39;: False
&#39;z&#39; is d-separated from &#39;x&#39; after adding a bidirected edge z&lt;-&gt;x: False
Expand Down Expand Up @@ -615,7 +615,7 @@ <h3>References<a class="headerlink" href="#references" title="Permalink to this
</aside>
</aside>
</div>
<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> ( 0 minutes 4.022 seconds)</p>
<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> ( 0 minutes 4.579 seconds)</p>
<p><strong>Estimated memory usage:</strong> 59 MB</p>
<div class="sphx-glr-footer sphx-glr-footer-example docutils container" id="sphx-glr-download-auto-examples-intro-intro-causal-graphs-py">
<div class="sphx-glr-download sphx-glr-download-python docutils container">
Expand Down
8 changes: 4 additions & 4 deletions dev/auto_examples/intro/sg_execution_times.html
Original file line number Diff line number Diff line change
Expand Up @@ -209,15 +209,15 @@

<section id="computation-times">
<span id="sphx-glr-auto-examples-intro-sg-execution-times"></span><h1>Computation times<a class="headerlink" href="#computation-times" title="Permalink to this heading">#</a></h1>
<p><strong>00:04.810</strong> total execution time for <strong>auto_examples_intro</strong> files:</p>
<p><strong>00:05.780</strong> total execution time for <strong>auto_examples_intro</strong> files:</p>
<table class="table">
<tbody>
<tr class="row-odd"><td><p><a class="reference internal" href="intro_causal_graphs.html#sphx-glr-auto-examples-intro-intro-causal-graphs-py"><span class="std std-ref">An introduction to causal graphs and how to use them</span></a> (<code class="docutils literal notranslate"><span class="pre">intro_causal_graphs.py</span></code>)</p></td>
<td><p>00:04.022</p></td>
<td><p>58.8 MB</p></td>
<td><p>00:04.579</p></td>
<td><p>59.1 MB</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="inducing_path.html#sphx-glr-auto-examples-intro-inducing-path-py"><span class="std std-ref">An introduction to Inducing Paths and how to find them</span></a> (<code class="docutils literal notranslate"><span class="pre">inducing_path.py</span></code>)</p></td>
<td><p>00:00.789</p></td>
<td><p>00:01.200</p></td>
<td><p>8.4 MB</p></td>
</tr>
</tbody>
Expand Down
6 changes: 3 additions & 3 deletions dev/auto_examples/mixededge/plot_mixed_edge_graph.html
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ <h2>Mixed Edge Graph Properties<a class="headerlink" href="#mixed-edge-graph-pro
MixedEdgeGraph named &#39;IV Graph&#39; with 3 nodes and 3 edges and 2 edge types is directed: False because there are directed edges.
False
[&#39;directed&#39;, &#39;bidirected&#39;]
{&#39;directed&#39;: &lt;networkx.classes.digraph.DiGraph object at 0x7f738b7f5a00&gt;, &#39;bidirected&#39;: &lt;networkx.classes.graph.Graph object at 0x7f738b7a8040&gt;}
{&#39;directed&#39;: &lt;networkx.classes.digraph.DiGraph object at 0x7f4a695a91f0&gt;, &#39;bidirected&#39;: &lt;networkx.classes.graph.Graph object at 0x7f4a695a92b0&gt;}
</pre></div>
</div>
</section>
Expand All @@ -425,7 +425,7 @@ <h2>Mixed Edge Graph Operations on Nodes<a class="headerlink" href="#mixed-edge-
<span class="nb">print</span><span class="p">(</span><span class="sa">f</span><span class="s2">&quot;Graph has node A: </span><span class="si">{</span><a href="../../generated/pywhy_graphs.networkx.MixedEdgeGraph.html#pywhy_graphs.networkx.MixedEdgeGraph.has_node" title="pywhy_graphs.networkx.MixedEdgeGraph.has_node" class="sphx-glr-backref-module-pywhy_graphs-networkx sphx-glr-backref-type-py-method"><span class="n">G</span><span class="o">.</span><span class="n">has_node</span></a><span class="p">(</span><span class="s1">&#39;A&#39;</span><span class="p">)</span><span class="si">}</span><span class="s2">&quot;</span><span class="p">)</span>
</pre></div>
</div>
<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>MixedEdgeGraph named &#39;IV Graph&#39; with 3 nodes and 3 edges and 2 edge types has nodes: [&#39;Z&#39;, &#39;X&#39;, &#39;Y&#39;]
<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>MixedEdgeGraph named &#39;IV Graph&#39; with 3 nodes and 3 edges and 2 edge types has nodes: [&#39;Z&#39;, &#39;Y&#39;, &#39;X&#39;]
Graph has node A: False
Now graph has node A: True
Graph has node A: False
Expand Down Expand Up @@ -507,7 +507,7 @@ <h2>Mixed Edge Graph Key Differences<a class="headerlink" href="#mixed-edge-grap
bidirected with degree: [(&#39;X&#39;, 1), (&#39;Y&#39;, 1), (&#39;Z&#39;, 0)]
</pre></div>
</div>
<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> ( 0 minutes 1.051 seconds)</p>
<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> ( 0 minutes 1.411 seconds)</p>
<p><strong>Estimated memory usage:</strong> 17 MB</p>
<div class="sphx-glr-footer sphx-glr-footer-example docutils container" id="sphx-glr-download-auto-examples-mixededge-plot-mixed-edge-graph-py">
<div class="sphx-glr-download sphx-glr-download-python docutils container">
Expand Down
6 changes: 3 additions & 3 deletions dev/auto_examples/mixededge/sg_execution_times.html
Original file line number Diff line number Diff line change
Expand Up @@ -209,12 +209,12 @@

<section id="computation-times">
<span id="sphx-glr-auto-examples-mixededge-sg-execution-times"></span><h1>Computation times<a class="headerlink" href="#computation-times" title="Permalink to this heading">#</a></h1>
<p><strong>00:01.051</strong> total execution time for <strong>auto_examples_mixededge</strong> files:</p>
<p><strong>00:01.411</strong> total execution time for <strong>auto_examples_mixededge</strong> files:</p>
<table class="table">
<tbody>
<tr class="row-odd"><td><p><a class="reference internal" href="plot_mixed_edge_graph.html#sphx-glr-auto-examples-mixededge-plot-mixed-edge-graph-py"><span class="std std-ref">MixedEdgeGraph - Graph with different types of edges</span></a> (<code class="docutils literal notranslate"><span class="pre">plot_mixed_edge_graph.py</span></code>)</p></td>
<td><p>00:01.051</p></td>
<td><p>17.0 MB</p></td>
<td><p>00:01.411</p></td>
<td><p>16.7 MB</p></td>
</tr>
</tbody>
</table>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@
<span class="c1"># on graphviz engines: https://graphviz.org/docs/layouts/neato/.</span>
</pre></div>
</div>
<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> ( 0 minutes 0.447 seconds)</p>
<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> ( 0 minutes 0.532 seconds)</p>
<p><strong>Estimated memory usage:</strong> 8 MB</p>
<div class="sphx-glr-footer sphx-glr-footer-example docutils container" id="sphx-glr-download-auto-examples-visualization-draw-and-compare-graphs-with-same-layout-py">
<div class="sphx-glr-download sphx-glr-download-python docutils container">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@
&#39;G.png&#39;
</pre></div>
</div>
<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> ( 0 minutes 0.901 seconds)</p>
<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> ( 0 minutes 1.144 seconds)</p>
<p><strong>Estimated memory usage:</strong> 8 MB</p>
<div class="sphx-glr-footer sphx-glr-footer-example docutils container" id="sphx-glr-download-auto-examples-visualization-plot-timeseries-graphs-py">
<div class="sphx-glr-download sphx-glr-download-python docutils container">
Expand Down
6 changes: 3 additions & 3 deletions dev/auto_examples/visualization/sg_execution_times.html
Original file line number Diff line number Diff line change
Expand Up @@ -209,15 +209,15 @@

<section id="computation-times">
<span id="sphx-glr-auto-examples-visualization-sg-execution-times"></span><h1>Computation times<a class="headerlink" href="#computation-times" title="Permalink to this heading">#</a></h1>
<p><strong>00:01.348</strong> total execution time for <strong>auto_examples_visualization</strong> files:</p>
<p><strong>00:01.676</strong> total execution time for <strong>auto_examples_visualization</strong> files:</p>
<table class="table">
<tbody>
<tr class="row-odd"><td><p><a class="reference internal" href="plot_timeseries_graphs.html#sphx-glr-auto-examples-visualization-plot-timeseries-graphs-py"><span class="std std-ref">Drawing timeseries graphs and setting their layout</span></a> (<code class="docutils literal notranslate"><span class="pre">plot_timeseries_graphs.py</span></code>)</p></td>
<td><p>00:00.901</p></td>
<td><p>00:01.144</p></td>
<td><p>8.4 MB</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="draw_and_compare_graphs_with_same_layout.html#sphx-glr-auto-examples-visualization-draw-and-compare-graphs-with-same-layout-py"><span class="std std-ref">Drawing graphs and setting their layout for visual comparison</span></a> (<code class="docutils literal notranslate"><span class="pre">draw_and_compare_graphs_with_same_layout.py</span></code>)</p></td>
<td><p>00:00.447</p></td>
<td><p>00:00.532</p></td>
<td><p>8.4 MB</p></td>
</tr>
</tbody>
Expand Down
2 changes: 1 addition & 1 deletion dev/searchindex.js

Large diffs are not rendered by default.

0 comments on commit 05055fe

Please sign in to comment.