Skip to content

Commit

Permalink
fix issue in html vignettes
Browse files Browse the repository at this point in the history
  • Loading branch information
dandls committed Oct 17, 2024
1 parent ca3efe6 commit 64ad214
Show file tree
Hide file tree
Showing 8 changed files with 328 additions and 833 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: counterfactuals
Type: Package
Title: Counterfactual Explanations
Version: 0.1.5
Version: 0.1.6
Authors@R: c(
person("Susanne", "Dandl", email = "[email protected]", role = c("aut", "cre"),
comment = c(ORCID = "0000-0003-4324-4163")),
Expand Down
3 changes: 3 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# counterfactuals 0.1.6
* Fix display issues in html vignettes

# counterfactuals 0.1.5
* Compatability with name changes in `bbotk` (OptimInstanceMultiCrit)

Expand Down
4 changes: 2 additions & 2 deletions vignettes/how-to-add-new-cf-methods.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ FeatureTweakerClassif = R6::R6Class("FeatureTweakerClassif", inherit = Counterfa
)
```

### Implement the `$initialize` method
### Implement the initialize method

The `initialize()` method must have a predictor argument that takes an
[`iml::Predictor`](https://giuseppec.github.io/iml/reference/Predictor.html) object. In addition, it may
Expand Down Expand Up @@ -147,7 +147,7 @@ FeatureTweakerClassif = R6Class("FeatureTweakerClassif", inherit = Counterfactua
)
```

### Implement the `$run` method
### Implement the run method

The `run()` method performs the search for counterfactuals. Its structure is completely free, which makes it flexible to
add new counterfactual methods to the `counterfactuals` package.
Expand Down
1,009 changes: 256 additions & 753 deletions vignettes/how-to-add-new-cf-methods.html

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions vignettes/how-to-add-new-cf-methods.html.asis

This file was deleted.

3 changes: 0 additions & 3 deletions vignettes/introduction.html.asis

This file was deleted.

134 changes: 66 additions & 68 deletions vignettes/other_models.html

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions vignettes/other_models.html.asis

This file was deleted.

0 comments on commit 64ad214

Please sign in to comment.