Skip to content

Commit 7df990d

Browse files
committed
updated doc
1 parent a1681d6 commit 7df990d

File tree

4 files changed

+238
-0
lines changed

4 files changed

+238
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,16 @@ We are always targeting to make our community better!
7070
# Running Tetrad in Python
7171

7272
Although causal-learn provides python implementations for some causal discovery algorithms, there are currently a lot more in the classical Java-based [Tetrad](https://github.com/cmu-phil/tetrad) program. For users who would like to incorporate arbitrary Java code in Tetrad as part of a Python workflow, we strongly recommend considering [py-tetrad](https://github.com/cmu-phil/py-tetrad). Here is a list of [reusable examples](https://github.com/cmu-phil/py-tetrad/tree/main/pytetrad) of how to painlessly benefit from the most comprehensive Tetrad Java codebase.
73+
74+
# Citation
75+
76+
Please cite as:
77+
78+
```
79+
@article{causallearn,
80+
title={Causal-learn: Causal Discovery in Python},
81+
author={Yujia Zheng and Biwei Huang and Wei Chen and Joseph Ramsey and Mingming Gong and Ruichu Cai and Shohei Shimizu and Peter Spirtes and Kun Zhang},
82+
journal={arXiv preprint arXiv:2307.16405},
83+
year={2023}
84+
}
85+
```

docs/.gitignore

Lines changed: 211 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,211 @@
1+
.idea/*
2+
3+
# User-specific stuff
4+
.idea/**/workspace.xml
5+
.idea/**/tasks.xml
6+
.idea/**/usage.statistics.xml
7+
.idea/**/dictionaries
8+
.idea/**/shelf
9+
10+
# Generated files
11+
.idea/**/contentModel.xml
12+
13+
# Sensitive or high-churn files
14+
.idea/**/dataSources/
15+
.idea/**/dataSources.ids
16+
.idea/**/dataSources.local.xml
17+
.idea/**/sqlDataSources.xml
18+
.idea/**/dynamic.xml
19+
.idea/**/uiDesigner.xml
20+
.idea/**/dbnavigator.xml
21+
22+
# Gradle
23+
.idea/**/gradle.xml
24+
.idea/**/libraries
25+
26+
# Gradle and Maven with auto-import
27+
# When using Gradle or Maven with auto-import, you should exclude module files,
28+
# since they will be recreated, and may cause churn. Uncomment if using
29+
# auto-import.
30+
# .idea/artifacts
31+
# .idea/compiler.xml
32+
# .idea/jarRepositories.xml
33+
# .idea/modules.xml
34+
# .idea/*.iml
35+
# .idea/modules
36+
# *.iml
37+
# *.ipr
38+
39+
# CMake
40+
cmake-build-*/
41+
42+
# Mongo Explorer plugin
43+
.idea/**/mongoSettings.xml
44+
45+
# File-based project format
46+
*.iws
47+
48+
# IntelliJ
49+
out/
50+
51+
# mpeltonen/sbt-idea plugin
52+
.idea_modules/
53+
54+
# JIRA plugin
55+
atlassian-ide-plugin.xml
56+
57+
# Cursive Clojure plugin
58+
.idea/replstate.xml
59+
60+
# Crashlytics plugin (for Android Studio and IntelliJ)
61+
com_crashlytics_export_strings.xml
62+
crashlytics.properties
63+
crashlytics-build.properties
64+
fabric.properties
65+
66+
# Editor-based Rest Client
67+
.idea/httpRequests
68+
69+
# Android studio 3.1+ serialized cache file
70+
.idea/caches/build_file_checksums.ser
71+
72+
### Python template
73+
# Byte-compiled / optimized / DLL files
74+
__pycache__/
75+
*.py[cod]
76+
*$py.class
77+
78+
# C extensions
79+
*.so
80+
81+
# Distribution / packaging
82+
.Python
83+
build/
84+
develop-eggs/
85+
dist/
86+
downloads/
87+
eggs/
88+
.eggs/
89+
lib/
90+
lib64/
91+
parts/
92+
sdist/
93+
var/
94+
wheels/
95+
share/python-wheels/
96+
*.egg-info/
97+
.installed.cfg
98+
*.egg
99+
MANIFEST
100+
101+
# PyInstaller
102+
# Usually these files are written by a python script from a template
103+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
104+
*.manifest
105+
*.spec
106+
107+
# Installer logs
108+
pip-log.txt
109+
pip-delete-this-directory.txt
110+
111+
# Unit test / coverage reports
112+
htmlcov/
113+
.tox/
114+
.nox/
115+
.coverage
116+
.coverage.*
117+
.cache
118+
nosetests.xml
119+
coverage.xml
120+
*.cover
121+
*.py,cover
122+
.hypothesis/
123+
.pytest_cache/
124+
cover/
125+
126+
# Translations
127+
*.mo
128+
*.pot
129+
130+
# Django stuff:
131+
*.log
132+
local_settings.py
133+
db.sqlite3
134+
db.sqlite3-journal
135+
136+
# Flask stuff:
137+
instance/
138+
.webassets-cache
139+
140+
# Scrapy stuff:
141+
.scrapy
142+
143+
# Sphinx documentation
144+
docs/_build/
145+
146+
# PyBuilder
147+
.pybuilder/
148+
target/
149+
150+
# Jupyter Notebook
151+
.ipynb_checkpoints
152+
153+
# IPython
154+
profile_default/
155+
ipython_config.py
156+
157+
# pyenv
158+
# For a library or package, you might want to ignore these files since the code is
159+
# intended to run in multiple environments; otherwise, check them in:
160+
# .python-version
161+
162+
# pipenv
163+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
164+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
165+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
166+
# install all needed dependencies.
167+
#Pipfile.lock
168+
169+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
170+
__pypackages__/
171+
172+
# Celery stuff
173+
celerybeat-schedule
174+
celerybeat.pid
175+
176+
# SageMath parsed files
177+
*.sage.py
178+
179+
# Environments
180+
.env
181+
.venv
182+
env/
183+
venv/
184+
ENV/
185+
env.bak/
186+
venv.bak/
187+
188+
# Spyder project settings
189+
.spyderproject
190+
.spyproject
191+
192+
# Rope project settings
193+
.ropeproject
194+
195+
# mkdocs documentation
196+
/site
197+
198+
# mypy
199+
.mypy_cache/
200+
.dmypy.json
201+
dmypy.json
202+
203+
# Pyre type checker
204+
.pyre/
205+
206+
# pytype static type analyzer
207+
.pytype/
208+
209+
# Cython debug symbols
210+
cython_debug/
211+

docs/source/getting_started.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,5 +81,18 @@ Contributors
8181

8282
**Quality control**: Yewen Fan, Haoyue Dai, Yujia Zheng, Ignavier Ng, Xiangchen Song
8383

84+
Citation
85+
^^^^^^^^^^^^
86+
87+
Please cite as:
88+
89+
@article{causallearn,
90+
title={Causal-learn: Causal Discovery in Python},
91+
author={Yujia Zheng and Biwei Huang and Wei Chen and Joseph Ramsey and Mingming Gong and Ruichu Cai and Shohei Shimizu and Peter Spirtes and Kun Zhang},
92+
journal={arXiv preprint arXiv:2307.16405},
93+
year={2023}
94+
}
95+
96+
8497

8598

docs/source/search_methods_index/Constraint-based causal discovery methods/FCI.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ For detailed usage, please kindly refer to its `usage example <https://github.co
5656

5757
**cache_variables_map**: This variable a map which contains the variables relate with cache. If it is not None, it should contain 'data_hash_key' 、'ci_test_hash_key' and 'cardinalities'. Default: None.
5858

59+
**show_progress**: True iff the algorithm progress should be show in console. Default: True.
5960

6061
Returns
6162
-------------------

0 commit comments

Comments
 (0)