Skip to content

Commit

Permalink
Unformat package names at Acquisition function vignette (#931)
Browse files Browse the repository at this point in the history
Use tidy style in Acquisition function vignette. Fixes #922
  • Loading branch information
martaalcalde authored Aug 15, 2024
1 parent 4ef7ea8 commit b975297
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vignettes/acquisition_functions.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ knitr::include_graphics("figures/trade_off_20.svg", auto_pdf = FALSE)

There are two main strategies for _dynamic trade-offs_ during the optimization:

* Use a function to specify the parameter(s) for the acquisition functions. For expected improvement, this can be done using `exp_improve(trade_off = foo())`. `foo()` should be a function whose first parameter is the current iteration number. When `tune` invokes this function, only the first argument is used. A good strategy might be to set `trade_off` to some non-zero value at the start of the search and incrementally approach zero after a reasonable period.
* Use a function to specify the parameter(s) for the acquisition functions. For expected improvement, this can be done using `exp_improve(trade_off = foo())`. `foo()` should be a function whose first parameter is the current iteration number. When tune invokes this function, only the first argument is used. A good strategy might be to set `trade_off` to some non-zero value at the start of the search and incrementally approach zero after a reasonable period.

* `control_bayes()` has an option for doing an additional _uncertainty sample_ when no improvements have been found. This is a technique from the active learning literature where new data points are sampled that most help the model. In this case, the candidate points are scored only on variance and a candidate is chosen from a set of the _most_ variable design points. This may find a location in the parameter space to help the optimization make improvements.

0 comments on commit b975297

Please sign in to comment.