Skip to content

Commit

Permalink
Create PC algo tutorial
Browse files Browse the repository at this point in the history
Signed-off-by: Robert Ness <robertness@gmail.com>
  • Loading branch information
robertness committed Dec 31, 2022
1 parent 4d9a788 commit d8d85af
Show file tree
Hide file tree
Showing 10 changed files with 510 additions and 15 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ __pycache__/
# C extensions
*.so

# possibly produced from drawing graphs
*.gv
*.png

junit-results.xml

# Distribution / packaging
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,8 @@ To install the package from github, clone the repository and then `cd` into the
# for graph functionality
poetry install --extras graph_func

# to load datasets used in tutorials
poetry install --extras data

# if you would like an editable install of dodiscover for dev purposes
pip install -e .
4 changes: 4 additions & 0 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,10 @@
"image_scrapers": scrapers,
}

# prevent jupyter notebooks from being run even if empty cell
nbsphinx_execute = "never"
nbsphinx_allow_errors = True

# Custom sidebar templates, maps document names to template names.
html_sidebars = {
"index": ["search-field.html"],
Expand Down
4 changes: 2 additions & 2 deletions doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ Contents
--------

.. toctree::
:maxdepth: 1
:maxdepth: 2
:caption: Getting started:

installation
api
use
tutorials
tutorials/index
whats_new

.. toctree::
Expand Down
12 changes: 0 additions & 12 deletions doc/tutorials.rst

This file was deleted.

18 changes: 18 additions & 0 deletions doc/tutorials/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
*********
Tutorials
*********

.. _models_tutorials:

Basic causal discovery models without latent confounders
========================================================
The first tutorial presents several algorithms for causal discovery without latent confounding: the Peters and Clarke (PC) algorithm.
These models provide a basis for learning causal structure from data when we make the **assumption** that there are
no latent confounders.

.. toctree::
:maxdepth: 1
:titlesonly:

markovian/pc

Loading

0 comments on commit d8d85af

Please sign in to comment.