Skip to content

Commit

Permalink
Fix order of arguments. (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
kklein authored Oct 6, 2024
1 parent acc246c commit a4858da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ rlearner = RLearner(
)

features = ["age", "weight", "height"]
rlearner.fit(df[features], df["treatment"], df["outcomes"])
rlearner.fit(df[features], df["outcomes"], df["treatment"])
cate_estimates = rlearner.predict(df[features], is_oos=False)
```

Expand Down

0 comments on commit a4858da

Please sign in to comment.