Skip to content
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
91 changes: 91 additions & 0 deletions docs/image/multi_resit1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/reference/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ API Reference
camuv
multi_group_rcd
multi_group_camuv
multi_group_resit
lina
resit
lim
Expand Down
8 changes: 8 additions & 0 deletions docs/reference/multi_group_resit.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.. module:: lingam

MultiGroupRESIT
===============

.. autoclass:: MultiGroupRESIT
:members:
:inherited-members:
12 changes: 6 additions & 6 deletions docs/tutorial/high_dim_direct_lingam.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Import and settings
In this example, we need to import ``numpy``, ``pandas``, and
``graphviz`` in addition to ``lingam``.

.. code:: ipython3
.. code-block:: python

import numpy as np
import pandas as pd
Expand All @@ -32,7 +32,7 @@ Test data

We create test data consisting of 6 variables.

.. code:: ipython3
.. code-block:: python

m = np.array([
[ 0.000, 0.000, 0.000, 0.895, 0.000, 0.000],
Expand Down Expand Up @@ -149,7 +149,7 @@ Causal Discovery
To run causal discovery, we create a ``HighDimDirectLiNGAM`` object and
call the ``fit`` method.

.. code:: ipython3
.. code-block:: python

model = HighDimDirectLiNGAM()
model.fit(X)
Expand All @@ -166,7 +166,7 @@ call the ``fit`` method.
Using the ``causal_order_`` properties, we can see the causal ordering
as a result of the causal discovery.

.. code:: ipython3
.. code-block:: python

model.causal_order_

Expand All @@ -182,7 +182,7 @@ as a result of the causal discovery.
Also, using the ``adjacency_matrix_`` properties, we can see the
adjacency matrix as a result of the causal discovery.

.. code:: ipython3
.. code-block:: python

model.adjacency_matrix_

Expand All @@ -202,7 +202,7 @@ adjacency matrix as a result of the causal discovery.

We can draw a causal graph by utility funciton.

.. code:: ipython3
.. code-block:: python

make_dot(model.adjacency_matrix_)

Expand Down
1 change: 1 addition & 0 deletions docs/tutorial/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ Contents:
camuv
multi_group_rcd
multi_group_camuv
multi_group_resit
lina
resit
pk_resit
Expand Down
Loading