transform_me {CalibratR} | R Documentation |
transform_me
Description
maps all instances in x_unscaled
to the [0;1] range using the equation:
y=exp(x)/(1+exp(x))
Usage
transform_me(x_unscaled, mean)
Arguments
x_unscaled |
vector of predictions |
mean |
mean of |
Details
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).
Value
transformed values of x_unscaled
[Package CalibratR version 0.1.2 Index]