Skip to content

Commit f16bbab

Browse files
committed
updated docs
1 parent 246eb29 commit f16bbab

File tree

1 file changed

+3
-2
lines changed
  • docs/source/search_methods_index/Causal discovery methods based on constrained functional causal models

1 file changed

+3
-2
lines changed

docs/source/search_methods_index/Causal discovery methods based on constrained functional causal models/pnl.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,13 @@ Usage
1919
2020
from causallearn.search.FCMBased.PNL.PNL import PNL
2121
pnl = PNL()
22-
p_value_foward, p_value_backward = pnl.cause_or_effect(x)
22+
p_value_foward, p_value_backward = pnl.cause_or_effect(data_x, data_y)
2323
2424
Parameters
2525
--------------------------------------
2626

27-
**x**: (n, 2). It has two columns, each of them corresponds to a continuous variable. n is the sample size.
27+
*data_x*: input data (n, 1), n is the sample size.
28+
*data_y*: output data (n, 1), n is the sample size
2829

2930
Returns
3031
--------------------------------------

0 commit comments

Comments
 (0)