-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'aryan_valid_pag' of github.com:aryan26roy/pywhy-graphs …
…into aryan_valid_pag
- Loading branch information
Showing
3 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
""" | ||
=========================== | ||
On PAGs and their validity | ||
=========================== | ||
A PAG or a Partial Ancestral Graph is a type of mixed edge | ||
graph that can represent, in a single graph, the causal relationship | ||
between several nodes as defined by an equivalence class of MAGs. | ||
PAGs model this relationship by displaying all common edge marks shared | ||
by all members in the equivalence class and displaying circles for those marks | ||
that are not common. | ||
More details on inducing paths can be found at :footcite:`Zhang2008`. | ||
""" | ||
|
||
|
||
try: | ||
from dodiscover import FCI, make_context | ||
from dodiscover.ci import Oracle | ||
from dodiscover.constraint.utils import dummy_sample | ||
except ImportError as e: | ||
raise ImportError("The 'dodiscover' package is required to convert a MAG to a PAG.") | ||
|
||
|
||
# %% | ||
# References | ||
# ---------- | ||
# .. footbibliography:: |