View source: R/spotTransform.R
| trans_1minus10pow | R Documentation |
Parameter values x are transformed to 1-10^x.
This is helpful for parameters that are likely to be set very close to (but below) a value of 1,
such as discount factors in reinforcement learning.
trans_1minus10pow(x)
x |
input |
1-10^x
f2 <- function(x){2^x}
fn <- c("identity", "exp", "f2")
xNat <- diag(3)
SPOT::transformX(xNat, fn)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.