Skip to content

Commit

Permalink
Release v0.10.0 (#369)
Browse files Browse the repository at this point in the history
  • Loading branch information
mllg authored Aug 5, 2022
1 parent edb140e commit 1168a4c
Show file tree
Hide file tree
Showing 23 changed files with 454 additions and 420 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Type: Package
Package: paradox
Title: Define and Work with Parameter Spaces for Complex
Algorithms
Version: 0.9.0.9000
Version: 0.10.0
Authors@R:
c(person(given = "Michel",
family = "Lang",
Expand Down Expand Up @@ -57,7 +57,7 @@ Config/testthat/edition: 3
Config/testthat/parallel: false
NeedsCompilation: no
Roxygen: list(markdown = TRUE, r6 = TRUE)
RoxygenNote: 7.1.2
RoxygenNote: 7.2.1
Collate:
'Condition.R'
'Design.R'
Expand Down
5 changes: 3 additions & 2 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# paradox 0.9.0.9000
# paradox 0.10.0

* Reset `.has_extra_trafo` to `FALSE` when trafo is set to `NULL`.
* Add method set_values to conveniently add parameter values.
* `rd_info.ParamSet` collapses vector with `"\n"` due changes in roxygen 7.2.0
* Add method `set_values()` to conveniently add parameter values.

# paradox 0.9.0

Expand Down
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -117,4 +117,4 @@ xst = x$transpose()
xst
```

Further documentation can be found in the [mlr3book](https://mlr3book.mlr-org.com/pipelines.html).
Further documentation can be found in the [mlr3book](https://mlr3book.mlr-org.com/05-pipelines.html).
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,14 @@ Transformations are functions with a fixed signature.
- `param_set` the `ParamSet` used to create the design

Transformations can be used to change the distributions of sampled
parameters. For example, to sample values between \(2^-3\) and \(2^3\)
in a \(log_2\)-uniform distribution, one can sample uniformly between -3
and 3 and exponentiate the random value inside the transformation.
parameters. For example, to sample values between
![2^-3](https://latex.codecogs.com/png.image?%5Cdpi%7B110%7D&space;%5Cbg_white&space;2%5E-3
"2^-3") and
![2^3](https://latex.codecogs.com/png.image?%5Cdpi%7B110%7D&space;%5Cbg_white&space;2%5E3
"2^3") in a
![log\_2](https://latex.codecogs.com/png.image?%5Cdpi%7B110%7D&space;%5Cbg_white&space;log_2
"log_2")-uniform distribution, one can sample uniformly between -3 and 3
and exponentiate the random value inside the transformation.

``` r
ps = ParamSet$new(
Expand Down Expand Up @@ -176,4 +181,4 @@ xst
```

Further documentation can be found in the
[mlr3book](https://mlr3book.mlr-org.com/pipelines.html).
[mlr3book](https://mlr3book.mlr-org.com/05-pipelines.html).
36 changes: 18 additions & 18 deletions man/Condition.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 15 additions & 15 deletions man/Design.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

60 changes: 30 additions & 30 deletions man/Param.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 1168a4c

Please sign in to comment.