Description Usage Arguments Details Value
View source: R/format_values.R
maps all instances in x_unscaled
to the [0;1] range using the equation:
y=exp(x)/(1+exp(x))
1 | transform_me(x_unscaled, mean)
|
x_unscaled |
vector of predictions |
mean |
mean of |
values greater then exp(700)/ or smaller then exp(-700) are returned as "Inf". To avoid NaN values, these "Inf." values are turned into min(y) or max(y).
transformed values of x_unscaled
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.