Skip to content

Commit

Permalink
bugfix: remove dependency on xgboost
Browse files Browse the repository at this point in the history
  • Loading branch information
kkholst committed Dec 20, 2023
1 parent bedb98a commit 8e79ba2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Suggests:
polycor,
quantreg,
rgl,
targeted (>= 0.2),
targeted (>= 0.4),
testthat (>= 0.11),
visNetwork
VignetteBuilder: knitr
Expand Down
14 changes: 7 additions & 7 deletions vignettes/influencefunction.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -901,13 +901,13 @@ a1
IC(a1) |> head()
```

```{r targeted2, cache=TRUE}
targeted::cate(a ~ w,
data = dw,
response_model = targeted::ML(y1 ~ x1+w+a, "xgboost.binary"),
propensity_model = targeted::ML(a ~ x1*w, "xgboost.binary")
)
```
<!-- ```{r targeted2, cache=TRUE} -->
<!-- targeted::cate(a ~ w, -->
<!-- data = dw, -->
<!-- response_model = targeted::ML(y1 ~ x1+w+a, "xgboost.binary"), -->
<!-- propensity_model = targeted::ML(a ~ x1*w, "xgboost.binary") -->
<!-- ) -->
<!-- ``` -->



Expand Down

0 comments on commit 8e79ba2

Please sign in to comment.