Skip to content

Commit a4858da

Browse files
authored
Fix order of arguments. (#93)
1 parent acc246c commit a4858da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ rlearner = RLearner(
3434
)
3535

3636
features = ["age", "weight", "height"]
37-
rlearner.fit(df[features], df["treatment"], df["outcomes"])
37+
rlearner.fit(df[features], df["outcomes"], df["treatment"])
3838
cate_estimates = rlearner.predict(df[features], is_oos=False)
3939
```
4040

0 commit comments

Comments
 (0)